Bring in reallocarray() from OpenBSD

This commit is contained in:
sin
2016-01-06 17:02:28 +00:00
parent 87360fe252
commit 2809fd3795
6 changed files with 48 additions and 2 deletions

View File

@@ -28,8 +28,8 @@ LDFLAGS = ${LIBS}
# uncomment for compat
CFLAGS += -DCOMPAT
# uncomment if your libc doesn't support strlcat, strlcpy.
COMPATOBJ = strlcat.o strlcpy.o
# uncomment if your libc doesn't support reallocarray, strlcat, strlcpy.
COMPATOBJ = reallocarray.o strlcat.o strlcpy.o
# compiler and linker
#CC = cc