add strndup/strnlen compat functions from OpenBSD
This commit is contained in:
@@ -33,6 +33,11 @@ if NO_STRLCPY
|
||||
libcompat_la_SOURCES += compat/strlcpy.c
|
||||
endif
|
||||
|
||||
if NO_STRNDUP
|
||||
libcompat_la_SOURCES += compat/strndup.c
|
||||
libcompat_la_SOURCES += compat/strnlen.c
|
||||
endif
|
||||
|
||||
if NO_REALLOCARRAY
|
||||
libcompat_la_SOURCES += compat/reallocarray.c
|
||||
endif
|
||||
|
Reference in New Issue
Block a user