On Sun, May 15, 2016 at 04:06:55AM +0200, Kamil Rytarowski wrote: > /usr/include/sys/signal.h says: > > #if (defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)) || \ > (_XOPEN_SOURCE - 0) >= 500 || defined(_NETBSD_SOURCE) > > If the posix standard says that it shall be defined, then we have got a bug.
And it is my understanding of your project that you should exactly identify this kind of bugs - so papering over it with _NETBSD_SOURCE is wrong. It may also be a bug in the test suite, but you have to check the standard to find out. Martin