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
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
f100b7bdd1
undef MODEMASK from Solaris 10
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
Brent Cook
7933741802
work around quirky behavior of Solaris adjtime
I could not find a lot of precedence for this, because most time
daemons do not actually look at the value of olddelta. Account for
olddelta getting stuck at 1ms, and for a NULL value of delta being
treated as an error condition.
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
8e4c175c42
update copyright block, patches
I removed all of the code in fake-sensors, I don't think Henning wants
all the credit for an empty file.
9 years ago
Brent Cook
17f348961a
be more direct about obtaining BSD integer types
9 years ago
Brent Cook
3f25522c31
include the BSD integer types
TODO: convert u_int_* types to uint_*
9 years ago
Brent Cook
4f2207cfa8
remove __weak_alias
9 years ago
Brent Cook
55a755daff
define __weak_alias
9 years ago
Brent Cook
558f0dd84f
add missing compatibilty headers
9 years ago