summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2015-07-18 10:31:19 +0000
committerRoy Marples <roy@marples.name>2015-07-18 10:31:19 +0000
commit3fc8d446eeee8105fff6f7b86683dd62f2c9df04 (patch)
treed5215afc642a1d1a7de23a8e731b805faf38264c /configure
parent2916d8d3a9977a6889cb274a44bfbd9865a255c3 (diff)
downloaddhcpcd-3fc8d446eeee8105fff6f7b86683dd62f2c9df04.tar.xz
Add another fix for compiling on old systems.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index dff30967..95ed9f07 100755
--- a/configure
+++ b/configure
@@ -378,6 +378,7 @@ linux*)
echo "DHCPCD_SRCS+= if-linux.c" >>$CONFIG_MK
# for RTM_NEWADDR and friends
echo "#include <asm/types.h> /* fix broken headers */" >>$CONFIG_H
+ echo "#include <sys/socket.h> /* fix broken headers */" >>$CONFIG_H
echo "#include <linux/rtnetlink.h>" >>$CONFIG_H
;;
qnx*)