summaryrefslogtreecommitdiff
path: root/lib/igt_kms.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_kms.c')
-rw-r--r--lib/igt_kms.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 88ee83be..f74f7070 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -23,14 +23,18 @@
*/
#define _GNU_SOURCE
+#include <unistd.h>
#include <stdio.h>
#include <stdarg.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <string.h>
+#include <stdlib.h>
#include <math.h>
#include <linux/kd.h>
-#include "drm_fourcc.h"
+#include <errno.h>
+
+#include <drm_fourcc.h>
#include "drmtest.h"
#include "igt_kms.h"