]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
bpf(4) says that we need to include sys/time.h as well.
authorRoy Marples <roy@marples.name>
Tue, 14 Jan 2014 14:24:31 +0000 (14:24 +0000)
committerRoy Marples <roy@marples.name>
Tue, 14 Jan 2014 14:24:31 +0000 (14:24 +0000)
Thanks to Sebastian Huber.

bpf.c

diff --git a/bpf.c b/bpf.c
index 826de227d6feb7497f15e03619f5aa1bf2d7ff56..67fd5056dfa4a43f94f4a68b44048a08c5748b43 100644 (file)
--- a/bpf.c
+++ b/bpf.c
@@ -1,6 +1,6 @@
 /*
  * dhcpcd - DHCP client daemon
- * Copyright (c) 2006-2013 Roy Marples <roy@marples.name>
+ * Copyright (c) 2006-2014 Roy Marples <roy@marples.name>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -25,6 +25,7 @@
  */
 
 #include <sys/types.h>
+#include <sys/time.h>
 #include <sys/ioctl.h>
 #include <sys/socket.h>
 #include <sys/uio.h>