summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-08-28 13:55:02 +0100
committerRoy Marples <roy@marples.name>2019-08-28 13:55:02 +0100
commit00c8d0e9848f9e1d3136e48a98aefd97eb90c694 (patch)
tree97bd53f03b9b5c1cdad02136e262049170442cf1 /configure
parent9d2f1ad1957fb5e53ca6c3740c20305f947d73ec (diff)
downloaddhcpcd-00c8d0e9848f9e1d3136e48a98aefd97eb90c694.tar.xz
rbtree: Fix building from a DragonFlyBSD import
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index b05b0241..a42e99db 100755
--- a/configure
+++ b/configure
@@ -1038,7 +1038,7 @@ EOF
rm -f _rbtree.c _rbtree
fi
if [ "$RBTREE" = no ]; then
- echo "CPPFLAGS+= -DRBTEST" >>$CONFIG_MK
+ echo "#define RBTEST" >>$CONFIG_H
echo "COMPAT_SRCS+= compat/rb.c" >>$CONFIG_MK
echo "#include \"compat/rbtree.h\"" >>$CONFIG_H
else