summaryrefslogtreecommitdiff
path: root/missing/x68.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/x68.c')
-rw-r--r--missing/x68.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/missing/x68.c b/missing/x68.c
index dbfe662874..9a8f0a2a9c 100644
--- a/missing/x68.c
+++ b/missing/x68.c
@@ -18,6 +18,7 @@ link(const char *src, const char *dst)
return symlink(src, dst);
}
+#ifndef HAVE_GETTIMEOFDAY
#include <time.h>
#include <sys/time.h>
@@ -34,3 +35,4 @@ gettimeofday(struct timeval *tv, struct timezone *tz)
return 0;
}
+#endif