Brent Cook
00b51d5c25
conditionally build strnlen if needed.
...
it is only used by strndup
prodded by Sortie@
2014-08-02 21:59:36 -05:00
Brent Cook
981fc3618a
Guard individual compatibility header prototypes.
...
This is to avoid redefining prototypes from the libc headers. Also,
simplify the autoconf function checks and remove some copy/paste
errors checking for 'write'.
ok wouter@
2014-07-28 13:52:07 -05:00
Brent Cook
0a74a4d464
add strndup/strnlen compat functions from OpenBSD
2014-07-28 07:07:23 -05:00
Brent Cook
ea6e7116c9
build openbsd memmem implementation for explicit_bzero test
...
memmem is not always available, and not all memmem's work the same way
ok beck@ guenther@
2014-07-21 20:29:49 -05:00
Brent Cook
2b6dbc39ef
initial top-level import of subdirectories
2014-07-10 06:22:54 -05:00