summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auth.c1
-rw-r--r--tests/getclient.c1
-rw-r--r--tests/getstats.c1
-rw-r--r--tests/lock.c1
-rw-r--r--tests/name_from_fd.c1
-rw-r--r--tests/setversion.c1
-rw-r--r--tests/updatedraw.c1
7 files changed, 7 insertions, 0 deletions
diff --git a/tests/auth.c b/tests/auth.c
index 9b6fca94..9147b115 100644
--- a/tests/auth.c
+++ b/tests/auth.c
@@ -26,6 +26,7 @@
*/
#include <limits.h>
+#include <sys/ioctl.h>
#include "drmtest.h"
enum auth_event {
diff --git a/tests/getclient.c b/tests/getclient.c
index 349c16ec..481ce119 100644
--- a/tests/getclient.c
+++ b/tests/getclient.c
@@ -26,6 +26,7 @@
*/
#include <limits.h>
+#include <sys/ioctl.h>
#include "drmtest.h"
/**
diff --git a/tests/getstats.c b/tests/getstats.c
index bd55b12e..8d40d0b3 100644
--- a/tests/getstats.c
+++ b/tests/getstats.c
@@ -26,6 +26,7 @@
*/
#include <limits.h>
+#include <sys/ioctl.h>
#include "drmtest.h"
/**
diff --git a/tests/lock.c b/tests/lock.c
index 86caa281..365681b5 100644
--- a/tests/lock.c
+++ b/tests/lock.c
@@ -30,6 +30,7 @@
*/
#include <limits.h>
+#include <sys/ioctl.h>
#include "drmtest.h"
enum auth_event {
diff --git a/tests/name_from_fd.c b/tests/name_from_fd.c
index 330c8ff0..e3db413a 100644
--- a/tests/name_from_fd.c
+++ b/tests/name_from_fd.c
@@ -28,6 +28,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
+#include <string.h>
#include "drmtest.h"
/**
diff --git a/tests/setversion.c b/tests/setversion.c
index 5a5d01cd..2f7b529a 100644
--- a/tests/setversion.c
+++ b/tests/setversion.c
@@ -27,6 +27,7 @@
#include <limits.h>
#include <string.h>
+#include <sys/ioctl.h>
#include "drmtest.h"
/**
diff --git a/tests/updatedraw.c b/tests/updatedraw.c
index a61eb151..8e0b94b6 100644
--- a/tests/updatedraw.c
+++ b/tests/updatedraw.c
@@ -25,6 +25,7 @@
*
*/
+#include <sys/ioctl.h>
#include "drmtest.h"
static void