diff options
| author | Roy Marples <roy@marples.name> | 2007-08-09 16:25:20 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-08-09 16:25:20 +0000 |
| commit | 0930e024c30c4974de82417ddd6ff633cca82b6c (patch) | |
| tree | 47202dc145a33ec8ee2b3dc20d5f922cf11ae6ee /common.h | |
| parent | 8ed838f75bc3dcdb4ae2aedc7ef38e972d16ceb5 (diff) | |
| download | dhcpcd-0930e024c30c4974de82417ddd6ff633cca82b6c.tar.xz | |
Ensure ARP checking times out when there is a flood.
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -23,6 +23,7 @@ #define COMMON_H /* string.h pulls in features.h so the below define checks work */ +#include <sys/time.h> #include <string.h> /* Only GLIBC doesn't support strlcpy */ @@ -36,6 +37,7 @@ size_t strlcpy (char *dst, const char *src, size_t size); void srandomdev (void); #endif +int get_time (struct timeval *tp); long uptime (void); void *xmalloc (size_t size); char *xstrdup (const char *str); |
