summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-02-27 11:16:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-02-27 11:16:23 +0000
commitd908af2355220f3d87816b7fff248bd0dc0f0395 (patch)
tree40a6b26e289ca834ba705603477c4f264133a183 /Makefile
parentf0c10a07cccdff83df4f4d5a7cd55a368a0febfc (diff)
downloadmandoc-d908af2355220f3d87816b7fff248bd0dc0f0395.tar.gz
Add strndup(3) compat implementation.
Jan Stary reports that MacOS X Snow Leopard and older lacks it.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8062150c..1feb4690 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,7 @@ TESTSRCS = test-be32toh.c \
test-stringlist.c \
test-strlcat.c \
test-strlcpy.c \
+ test-strndup.c \
test-strptime.c \
test-strsep.c \
test-strtonum.c \
@@ -70,6 +71,7 @@ SRCS = att.c \
compat_stringlist.c \
compat_strlcat.c \
compat_strlcpy.c \
+ compat_strndup.c \
compat_strsep.c \
compat_strtonum.c \
compat_vasprintf.c \
@@ -249,6 +251,7 @@ COMPAT_OBJS = compat_err.o \
compat_strcasestr.o \
compat_strlcat.o \
compat_strlcpy.o \
+ compat_strndup.o \
compat_strsep.o \
compat_strtonum.o \
compat_vasprintf.o