Explorar o código

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

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

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger %!s(int64=12) %!d(string=hai) anos
pai
achega
cf1840ba0a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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";