about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorPaul Marinescu <paulmar@users.noreply.github.com>2013-11-02 19:52:35 -0700
committerPaul Marinescu <paulmar@users.noreply.github.com>2013-11-02 19:52:35 -0700
commit4121e451dc7172c27f9b8cf3e4df3038bda7bb99 (patch)
tree9e07179e70674dac64fe7b93001449dd556b3c72
parentb2070cfe978396aad21f22c8aae4910d45295bee (diff)
parent85cba67d869741f9148c51e503253a14a7ea1248 (diff)
downloadklee-4121e451dc7172c27f9b8cf3e4df3038bda7bb99.tar.gz
Merge pull request #61 from MartinNowack/fix_futimesat
Fix Futimesat compilation with newer gcc and clang
-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;