about summary refs log tree commit diff
path: root/posix/tst-preadwrite-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-preadwrite-common.c')
-rw-r--r--posix/tst-preadwrite-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/tst-preadwrite-common.c b/posix/tst-preadwrite-common.c
index 034f84d696..9468ed85a9 100644
--- a/posix/tst-preadwrite-common.c
+++ b/posix/tst-preadwrite-common.c
@@ -20,6 +20,7 @@
 #include <error.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/stat.h>
 
 static void do_prepare (void);
 #define PREPARE(argc, argv)	do_prepare ()