Hi M?ns, M?ns Rullg?rd wrote: [...] >> Uhmmm... Maybe we can do something like: >> #ifdef __GLIBC__ >> #define _BSD_SOURCE >> #endif > > That won't work. _BSD_SOURCE must be defined before any header is > included, and __GLIBC__ won't be defined until after. Yes, sorry... I do not know what I was thinking about. Luca