summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-16 04:33:08 -0500
committerMike Frysinger <vapier@gentoo.org>2012-01-16 15:55:10 -0500
commitcf1840ba0a51b3145aaebdd882b84cbfe7b2e759 (patch)
tree20c5dd4518de20cfa3c62ed9f5c2ee47a649d6ab
parent386a22b920780077d882e051689e6a3a6c92682b (diff)
tests: opendir-tst1: add header for mknod()
Include sys/stat.h for mknod() prototype. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--test/misc/opendir-tst1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/misc/opendir-tst1.c b/test/misc/opendir-tst1.c
index 302158d0e..fb6ea26a7 100644
--- a/test/misc/opendir-tst1.c
+++ b/test/misc/opendir-tst1.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/stat.h>
/* Name of the FIFO. */
char tmpname[] = "fifoXXXXXX";