Browse Source

tests: opendir-tst1: add header for mknod()

Include sys/stat.h for mknod() prototype.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 13 years ago
parent
commit
cf1840ba0a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test/misc/opendir-tst1.c

+ 1 - 0
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";