]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Always set HAVE_REALLOCARRAY so that eloop can use it.
authorRoy Marples <roy@marples.name>
Sat, 7 May 2016 12:20:36 +0000 (12:20 +0000)
committerRoy Marples <roy@marples.name>
Sat, 7 May 2016 12:20:36 +0000 (12:20 +0000)
configure

index b5af065599c634d1659398587969782c22a1f8bc..f11c797cdd8c7fcf5c6a34352a203b94a98bd71c 100755 (executable)
--- a/configure
+++ b/configure
@@ -917,9 +917,9 @@ fi
 if [ "$REALLOCARRAY" = no ]; then
        echo "COMPAT_SRCS+=     compat/reallocarray.c" >>$CONFIG_MK
        echo "#include          \"compat/reallocarray.h\"">>$CONFIG_H
-else
-       echo "#define HAVE_REALLOCARRAY" >>$CONFIG_H
 fi
+# Set this for eloop
+echo "#define HAVE_REALLOCARRAY" >>$CONFIG_H
 
 if [ -z "$POLL" ]; then
        printf "Testing for kqueue1 ... "