1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Fixes a compile error if XOPEN_SOURCE 600 is defined. See: http://www.mailinglistarchive.com/freebsd-current@freebsd.org/msg15011.html --- sys/sys/types.h.orig +++ sys/sys/types.h @@ -46,7 +46,7 @@ #include <sys/_pthreadtypes.h> -#if __BSD_VISIBLE +#ifndef _POSIX_SOURCE typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int;