Network headers and __BSD_VISIBLE

Peter Dufault dufault at hda.com
Thu Sep 8 09:02:28 UTC 2011


On Sep 8, 2011, at 4:43 , Sebastian Huber wrote:

> Ok, and what is the proper way to do this?  Define __BSD_VISIBLE before 
> including any system header files?

I think the POSIX rule for overriding selections is to set something "before <unistd.h> is included", which is why I always put it at the top of my list of include files.

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering





More information about the users mailing list