[git commit] tests: opendir-tst1: add header for mknod()

Mike Frysinger vapier at gentoo.org
Mon Jan 16 20:55:10 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=cf1840ba0a51b3145aaebdd882b84cbfe7b2e759
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

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

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 test/misc/opendir-tst1.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/test/misc/opendir-tst1.c b/test/misc/opendir-tst1.c
index 302158d..fb6ea26 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";


More information about the uClibc-cvs mailing list