From 794810d62d49c05a9b06c8570a6b668b4bb0179d Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 23 Feb 2015 13:42:15 +0000 Subject: tests: fix implicit funciton declaration errors ioctl() and strcmp() were used without the relevent header being included. Signed-off-by: Emil Velikov Reviewed-by: Jan Vesely --- tests/auth.c | 1 + tests/getclient.c | 1 + tests/getstats.c | 1 + tests/lock.c | 1 + tests/name_from_fd.c | 1 + tests/setversion.c | 1 + tests/updatedraw.c | 1 + 7 files changed, 7 insertions(+) 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 +#include #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 +#include #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 +#include #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 +#include #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 #include #include +#include #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 #include +#include #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 #include "drmtest.h" static void -- cgit v1.2.3