summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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";