summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index c019e51..e725151 100644
--- a/config.mk
+++ b/config.mk
@@ -26,5 +26,10 @@ LDFLAGS = ${LIBS}
# -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
#LDFLAGS = -static -s ${LIBS}
+# uncomment for compat
+CFLAGS += -DCOMPAT
+# uncomment if your libc doesn't support strlcat, strlcpy.
+EXTRAOBJ = strlcat.o strlcpy.o
+
# compiler and linker
#CC = cc