Paul B. Henson
2bb74c098b
Add sys/wait.h stub header with WAIT_ANY definition for systems (such as
Solaris and illumos based distributions) which don't have it.
9 years ago
Brent Cook
7ec2068906
remove unnecessary header defines, condense md5
9 years ago
Brent Cook
15a611b230
pare back the unconditional MD5/SHA builtins patch
e0ed8ed664
went too far and broke the
backward compat headers for Linux systems.
9 years ago
kinichiro
9d7e230cc7
add stdio.h for definition of asprintf and vasprintf
9 years ago
kinichiro
ee0dfcfd61
add sys/mman.h for MAP_ANON and MAP_ANONYMOUS
9 years ago
Brent Cook
cc8e1790f3
define SHA2_SMALL to remove unneeded SHA hashes
This also removes the need for __weak_alias shims
9 years ago
Brent Cook
87be206389
ensure that sys/types.h includes endian definitions
9 years ago
Brent Cook
6759f143ed
add cdefs shim for defining __weak_alias on platforms without it
9 years ago
Paul B. Henson
1248e2b50a
Add ifaddrs.h stub header file for systems (such as Solaris 10) which
do not have it, and a getifaddrs substitute for Solaris 10.
9 years ago
Paul B. Henson
f427a68fd0
Add paths.h stub for systems (such as Solaris 10) without it.
9 years ago
Brent Cook
e0ed8ed664
do not link -lmd to get MD5* functions
There are crypto hash function symbol overlaps between libmd and libcrypto on
FreeBSD, which causes hashing of the certificates store to fail as a
side-effect when using TLS constraints. Since all we really need is MD5, just
use the embedded OpenBSD versions instead.
9 years ago
Brent Cook
128bd48fe2
include tls.h with the distribution package
9 years ago
Brent Cook
8dafd6324d
Go back to original SA_LEN macro.
Due to some circular dependencies on Solaris, this needs to be defined
as a macro. We should just remove SA_LEN usage here next.
9 years ago
Brent Cook
b759f56133
add fallback err.h and queue.h
9 years ago
Brent Cook
12bfe6dafa
move and improve SA_LEN emulation
If sa_family is not set, sa_len should be zero.
9 years ago
Brent Cook
1970d59422
include time.h in the distribution
9 years ago
Brent Cook
1273571998
distribute hash compat headers
9 years ago
Brent Cook
d5b81b8ed2
new OpenNTPD portable tree
First attempt at building a new OpenNTPD portable project, based on the
latest OpenBSD source.
9 years ago