aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/fileio.c')
-rw-r--r--gdb/testsuite/gdb.base/fileio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/fileio.c b/gdb/testsuite/gdb.base/fileio.c
index 29c32e0..e443173 100644
--- a/gdb/testsuite/gdb.base/fileio.c
+++ b/gdb/testsuite/gdb.base/fileio.c
@@ -9,6 +9,7 @@
#include <errno.h>
#include <sys/wait.h>
#include <unistd.h>
+#include <time.h>
/* TESTS :
* - open(const char *pathname, int flags, mode_t mode);
1) Attempt to create file that already exists - EEXIST