summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/igt_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_core.h b/lib/igt_core.h
index dd7fc123..661a6343 100644
--- a/lib/igt_core.h
+++ b/lib/igt_core.h
@@ -39,6 +39,7 @@
#include <sys/types.h>
#include <stdarg.h>
#include <getopt.h>
+#include <unistd.h>
#ifndef IGT_LOG_DOMAIN
#define IGT_LOG_DOMAIN (NULL)