diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-01-16 04:33:08 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-01-16 15:55:10 -0500 |
commit | cf1840ba0a51b3145aaebdd882b84cbfe7b2e759 (patch) | |
tree | 20c5dd4518de20cfa3c62ed9f5c2ee47a649d6ab /test/misc/opendir-tst1.c | |
parent | 386a22b920780077d882e051689e6a3a6c92682b (diff) |
tests: opendir-tst1: add header for mknod()
Include sys/stat.h for mknod() prototype.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'test/misc/opendir-tst1.c')
-rw-r--r-- | 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 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"; |