summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-01-04 13:40:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-01-04 13:40:01 +0000
commit5c070be20add59873701368a2033d7d993a416d6 (patch)
tree76f425fd07719c2052955f27495c55b7d6025fa4 /Makefile
parentdfda0cb34b738e8d555c93e3f4f316a2594a9d25 (diff)
downloadmandoc-5c070be20add59873701368a2033d7d993a416d6.tar.gz
Even though strnlen(3) is required by POSIX 2008,
Matthias Scheler reports than Solaris 10 lacks it. While here, sort the declarations in config.h and move the headers to the top.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0dbc0770..314be62d 100644
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,7 @@ TESTSRCS = test-fgetln.c \
test-ohash.c \
test-strlcat.c \
test-strlcpy.c \
+ test-strnlen.c \
test-strptime.c
SRCS = Makefile \
@@ -78,6 +79,7 @@ SRCS = Makefile \
compat_strcasestr.c \
compat_strlcat.c \
compat_strlcpy.c \
+ compat_strnlen.c \
compat_strsep.c \
config.h.post \
config.h.pre \
@@ -197,6 +199,7 @@ COMPAT_OBJS = compat_fgetln.o \
compat_strcasestr.o \
compat_strlcat.o \
compat_strlcpy.o \
+ compat_strnlen.o \
compat_strsep.o
arch.o: arch.in