summaryrefslogtreecommitdiff
path: root/tests/name_from_fd.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/name_from_fd.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/name_from_fd.c')
-rw-r--r--tests/name_from_fd.c1
1 files changed, 1 insertions, 0 deletions
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"
/**