aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit957f6aafd9fc45fb66da1888378b261ed1209036 (patch)
treead633fa7f56954e3ad4e8d1f586be4e0a9a301b3 /Makefile
parent5dd8c40e5ee7a6f5e3acca5d38042a17760e0cde (diff)
downloadmandoc-957f6aafd9fc45fb66da1888378b261ed1209036.tar.gz
mandoc-957f6aafd9fc45fb66da1888378b261ed1209036.tar.zst
mandoc-957f6aafd9fc45fb66da1888378b261ed1209036.zip
Add strndup(3) compat implementation.
Jan Stary reports that MacOS X Snow Leopard and older lacks it.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bbababa2..a9626643 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.517 2017/08/05 13:34:39 schwarze Exp $
+# $Id: Makefile,v 1.518 2018/02/27 11:16:23 schwarze Exp $
#
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
# Copyright (c) 2011, 2013-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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