diff options
| author | Roy Marples <roy@marples.name> | 2014-12-10 22:42:12 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2014-12-10 22:42:12 +0000 |
| commit | c6c54d9e963f256ccb1c071d74a2d8d7ec3adb66 (patch) | |
| tree | 4c0c9b8ae763a4e046307cbe7daf6c2c698e14bc /configure | |
| parent | 4f138b1db16f996ff2c22f1f12372074df01b17f (diff) | |
| download | dhcpcd-c6c54d9e963f256ccb1c071d74a2d8d7ec3adb66.tar.xz | |
Include linux/rtnetlink.h in config.h rather than each file that needs it.
Detect RTM_NEWNEIGH rather than force a define based on __linux__.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -366,6 +366,9 @@ linux*) # glibc-2.20 echo "CPPFLAGS+= -D_DEFAULT_SOURCE" >>$CONFIG_MK 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 <linux/rtnetlink.h>" >>$CONFIG_H ;; kfreebsd*) echo "CPPFLAGS+= -D_GNU_SOURCE" >>$CONFIG_MK |
