about summary refs log tree commit diff homepage
path: root/test/Runtime
diff options
context:
space:
mode:
authorMartin Nowack <martin@se.inf.tu-dresden.de>2013-11-02 00:16:03 +0100
committerMartin Nowack <martin@se.inf.tu-dresden.de>2013-11-02 00:16:03 +0100
commit85cba67d869741f9148c51e503253a14a7ea1248 (patch)
tree9e07179e70674dac64fe7b93001449dd556b3c72 /test/Runtime
parentb2070cfe978396aad21f22c8aae4910d45295bee (diff)
downloadklee-85cba67d869741f9148c51e503253a14a7ea1248.tar.gz
Fix Futimesat compilation with newer gcc and clang
Diffstat (limited to 'test/Runtime')
-rw-r--r--test/Runtime/POSIX/Futimesat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Runtime/POSIX/Futimesat.c b/test/Runtime/POSIX/Futimesat.c
index fd9ea0de..6ae0ca7c 100644
--- a/test/Runtime/POSIX/Futimesat.c
+++ b/test/Runtime/POSIX/Futimesat.c
@@ -6,7 +6,9 @@
 #include <assert.h>
 #include <fcntl.h>
 #include <sys/stat.h>
+#include <sys/time.h>
 #include <time.h>
+#include <unistd.h>
 
 int main(int argc, char **argv) {
   int r;