[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sys/socket.h and source defines

As best I can tell, with the native NetBSD sys/socket.h, if a problem in
any way defines (or triggers definition of) _POSIX_SOURCE or _XOPEN_SOURCE,
anything which calls sys/socket.h will break horribly (since it uses values
from types.h - which it also fails to include on it's own - which are only
valid if not using POSIX sources, specifically u_char rather than u_int8_t)

Can anyone offer solutions to this? It's breaking a number of packages
which, for various reasons, declare one of these two, and then include some
file which, in turn, includes sys/socket.h
Joel Baker                           System Administrator - lightbearer.com
lucifer@lightbearer.com              http://users.lightbearer.com/lucifer/

Reply to: