]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Another kFreeBSD fix.
authorRoy Marples <roy@marples.name>
Wed, 27 Oct 2010 14:17:21 +0000 (14:17 +0000)
committerRoy Marples <roy@marples.name>
Wed, 27 Oct 2010 14:17:21 +0000 (14:17 +0000)
configure

index 80dc53f575981303a0827d5babc04145439ab0cc..ce79a327ab51c353cab482a561a979c8fba1085a 100755 (executable)
--- a/configure
+++ b/configure
@@ -233,6 +233,7 @@ linux)
        echo "LDADD+=           -lrt" >>$CONFIG_MK
        ;;
 kfreebsd)
+       echo "CPPFLAGS+=        -D_GNU_SOURCE" >>$CONFIG_MK
        echo "SRCS+=            bpf.c if-bsd.c platform-bsd.c" >>$CONFIG_MK
        echo "COMPAT_SRCS+=     compat/linkaddr.c" >>$CONFIG_MK
        echo "LDADD+=           -lrt" >>$CONFIG_MK