diff options
| author | Roy Marples <roy@marples.name> | 2007-08-20 16:33:09 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-08-20 16:33:09 +0000 |
| commit | 0b48939e2aa7eb125ffc6e97f33735b6b13de298 (patch) | |
| tree | e76c79963e8063aa68a85e905764448704b5ff4a /common.h | |
| parent | 184826065166942d397b9f5f526d232688133b70 (diff) | |
| download | dhcpcd-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |
