summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-08-22 14:59:51 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-08-22 14:59:51 +0200
commit62f6f2a911120b7718110ec8e5f38cf19466f50e (patch)
treec0be05691f40f7ce653f74bac3ab69cef4dd0179
parentd1ac6963bb9fb5ab694d39fc9140ed627723e1da (diff)
config.mk: build compat strlcpy, strlcat by default (synced from OpenBSD)
-rw-r--r--config.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index abc9124..ecf8b46 100644
--- a/config.mk
+++ b/config.mk
@@ -23,9 +23,9 @@ LDFLAGS = -s ${LIBS}
#LDFLAGS = -static -s ${LIBS}
# uncomment for compat
-#CFLAGS += -DCOMPAT
-# uncomment if your libc doesn't support strlcat and strlcpy
-#EXTRAOBJ = strlcat.o strlcpy.o
+CFLAGS += -DCOMPAT
+# uncomment if your libc doesn't support strlcat, strlcpy and strtonum.
+EXTRAOBJ = strlcat.o strlcpy.o
# compiler and linker
#CC = cc