diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-02-27 11:16:23 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-02-27 11:16:23 +0000 |
commit | d908af2355220f3d87816b7fff248bd0dc0f0395 (patch) | |
tree | 40a6b26e289ca834ba705603477c4f264133a183 /Makefile | |
parent | f0c10a07cccdff83df4f4d5a7cd55a368a0febfc (diff) | |
download | mandoc-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-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |