]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Add another fix for compiling on old systems.
authorRoy Marples <roy@marples.name>
Sat, 18 Jul 2015 10:31:19 +0000 (10:31 +0000)
committerRoy Marples <roy@marples.name>
Sat, 18 Jul 2015 10:31:19 +0000 (10:31 +0000)
configure

index dff30967fbf42aa649fcfb766f35a24bd9822706..95ed9f07a65b85a1e53044a48cd82908adade27d 100755 (executable)
--- 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*)