summaryrefslogtreecommitdiff
path: root/tests/lock.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-02-23 13:42:15 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-02-27 15:51:15 +0000
commit794810d62d49c05a9b06c8570a6b668b4bb0179d (patch)
tree3cf7de23193dfb2a313407958bd8802da1f97c00 /tests/lock.c
parent2b209fc409179a271751f57f6caad952e57eb3f6 (diff)
tests: fix implicit funciton declaration errors
ioctl() and strcmp() were used without the relevent header being included. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Diffstat (limited to 'tests/lock.c')
-rw-r--r--tests/lock.c1
1 files changed, 1 insertions, 0 deletions
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 {