summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-05-07 12:20:36 +0000
committerRoy Marples <roy@marples.name>2016-05-07 12:20:36 +0000
commit3bad0a9e41cc1202f7e8dfd28d57a01a14d130f2 (patch)
tree0f1033a4408e79c5838c11e887ac90b8eae40bd7 /configure
parent5e98a2b1a83d3575fd787a16cdfb55b7df99d772 (diff)
downloaddhcpcd-3bad0a9e41cc1202f7e8dfd28d57a01a14d130f2.tar.xz
Always set HAVE_REALLOCARRAY so that eloop can use it.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index b5af0655..f11c797c 100755
--- 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 ... "