summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-20 16:33:09 +0000
committerRoy Marples <roy@marples.name>2007-08-20 16:33:09 +0000
commit0b48939e2aa7eb125ffc6e97f33735b6b13de298 (patch)
treee76c79963e8063aa68a85e905764448704b5ff4a /common.h
parent184826065166942d397b9f5f526d232688133b70 (diff)
downloaddhcpcd-0b48939e2aa7eb125ffc6e97f33735b6b13de298.tar.xz
Rework the arp code again so that we don't link to librt on Linux.
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.h b/common.h
index 79940997..b0a308df 100644
--- a/common.h
+++ b/common.h
@@ -35,9 +35,11 @@ size_t strlcpy (char *dst, const char *src, size_t size);
#ifdef __linux__
void srandomdev (void);
+#else
+#define HAVE_GET_TIME
+int get_time (struct timeval *tp);
#endif
-int get_time (struct timeval *tp);
long uptime (void);
void *xmalloc (size_t size);
char *xstrdup (const char *str);