15 Commits

Author SHA1 Message Date
inoguchi
ff58a2e3cb update include/machine/endian.h for hpux portability.
ok bcook@
2014-07-30 07:12:36 -05:00
Brent Cook
af705b3f7d add sys/mman.h shim to define MAP_ANON if needed
thanks to kinichiro for pointing this out

ok deraadt@ beck@
2014-07-29 11:17:48 -05:00
Brent Cook
35e2d8d048 add asprintf / vasprintf from OpenSSH portable
ok deraadt@ beck@
2014-07-29 11:17:22 -05:00
pgmassey
02ad0041c4 Update endian.h for AIX/IRIX
Added AIX/IRIX compatibility for endian detection.

ok bcook@ deraadt@ beck@
2014-07-29 11:17:18 -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
fb67b92eb2 include system headers for err.h compat macros 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
0ec7cdcbad include err.h shim
Includes compatible replacements, or uses system err.h if available.

ok beck@ guenther@
2014-07-21 19:53:53 -05:00
Brent Cook
136ddd7a9b update guard, add win32 support for endian.h
Thanks to Jonas 'Sortie' Termansen for pointing the guard inconsistency out.

ok beck@
2014-07-20 16:30:50 -05:00
Brent Cook
237250e07a include <_bsd_types.h> on MinGW
ok beck@
2014-07-20 16:30:38 -05:00
Brent Cook
8e6009c711 axe unneeded solaris compatibility definitions 2014-07-10 22:06:44 -05:00
Brent Cook
388a1655d4 better fix for __bounded removal 2014-07-10 16:02:49 -05:00
Charlie Root
abe7bee360 Make things build again - add some missing headers
ok bcook@
2014-07-10 08:36:47 -06:00
Brent Cook
2b6dbc39ef initial top-level import of subdirectories 2014-07-10 06:22:54 -05:00