summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-09 16:25:20 +0000
committerRoy Marples <roy@marples.name>2007-08-09 16:25:20 +0000
commit0930e024c30c4974de82417ddd6ff633cca82b6c (patch)
tree47202dc145a33ec8ee2b3dc20d5f922cf11ae6ee /common.h
parent8ed838f75bc3dcdb4ae2aedc7ef38e972d16ceb5 (diff)
downloaddhcpcd-0930e024c30c4974de82417ddd6ff633cca82b6c.tar.xz
Ensure ARP checking times out when there is a flood.
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index 2f7310f9..79940997 100644
--- a/common.h
+++ b/common.h
@@ -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);