diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 21:29:01 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 21:29:01 +0100 |
commit | 254f19ba8dc4b00d0d5df0a4f8d0a0cb104b2df5 (patch) | |
tree | 31e0e88971205d7483ed7602cf65214f95dc0b29 /lib/igt_kms.c | |
parent | e49ceb869056255b8b6b94720b2279f6de88c893 (diff) |
lib: unnecessary header removal for drmtest.h, part 2
I've left unistd.h in it - it's not strictly required but most users
of drmtest.h want it for the open helpers, and then you kinda need to
close that file descriptor again ...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_kms.c')
-rw-r--r-- | lib/igt_kms.c | 6 |
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" |