summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-11-16 13:43:08 +0000
committerRoy Marples <roy@marples.name>2016-11-16 13:43:08 +0000
commitb2ae61071bb1e244287c727517a8623404668cca (patch)
tree1955fdaf7e769020e18a309b7de0bb42b927bdc9
parent9acf8f0a53934cd98a2645bce6de531d34a0aca9 (diff)
downloaddhcpcd-b2ae61071bb1e244287c727517a8623404668cca.tar.xz
Fix compile on FreeBSD.
-rw-r--r--sa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sa.c b/sa.c
index 26d8e3e6..2b3ca60e 100644
--- a/sa.c
+++ b/sa.c
@@ -25,7 +25,8 @@
* SUCH DAMAGE.
*/
-#include <sys/param.h>
+#include <sys/socket.h>
+#include <sys/types.h>
#include <arpa/inet.h>
#ifdef AF_LINK