summaryrefslogtreecommitdiffstats
path: root/missing
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-01-05 04:41:21 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-01-05 04:41:21 +0000
commit56e60da9db31c4b6ec8d6433be9710470daaf34a (patch)
treece7e90b3c16ce6246be9850c9b1ea1328992c0e7 /missing
parentc3f7c758488c87d12a779345c567f1b4b5e910b0 (diff)
downloadruby-56e60da9db31c4b6ec8d6433be9710470daaf34a.tar.gz
ruby-56e60da9db31c4b6ec8d6433be9710470daaf34a.tar.xz
ruby-56e60da9db31c4b6ec8d6433be9710470daaf34a.zip
20000105
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing')
-rw-r--r--missing/x68.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/missing/x68.c b/missing/x68.c
index dbfe66287..9a8f0a2a9 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