pkgsrc-Users archive

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

Re: emulators/wine build failure



On Thu, Jul 30, 2026 at 04:40:53PM -0700, Paul Goyette wrote:
> 
> On host netbsd-11.99.6 (amd64)

Does it define anything special to restrict header namespace pollution?

The typical things to look for are:

	_POSIX_C_SOURCE
	_XOPEN_SOURCE

(assuming it is not just missing a #include <signal.h>)

See sys/signal.h:

#if (_POSIX_C_SOURCE - 0) >= 199309L || (_XOPEN_SOURCE - 0) >= 500 || \
    defined(_NETBSD_SOURCE)
#include <sys/siginfo.h>
#endif

#if (defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)) || \
    (_XOPEN_SOURCE - 0) >= 500 || defined(_NETBSD_SOURCE)
#include <sys/ucontext.h>
#endif /* _XOPEN_SOURCE_EXTENDED || _XOPEN_SOURCE >= 500 || _NETBSD_SOURCE */


Martin


Home | Main Index | Thread Index | Old Index