summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-808400-fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-808400-fcntl.c')
-rw-r--r--tests/bugs/bug-808400-fcntl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bugs/bug-808400-fcntl.c b/tests/bugs/bug-808400-fcntl.c
index 4deef34a532..87a83f317b8 100644
--- a/tests/bugs/bug-808400-fcntl.c
+++ b/tests/bugs/bug-808400-fcntl.c
@@ -7,6 +7,10 @@
#include <fcntl.h>
#include <sys/wait.h>
+#ifndef linux
+#define fstat64(fd, st) fstat(fd, st)
+#endif
+
int
run_child (char *filename)
{