this fixes a regression related to the changes made to bits/signal.h
between 0.9.7 and 0.9.8 that broke some (non-portable) software.
#define SIGSTKSZ 8192
#endif
+#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
+#define NSIG _NSIG
+#endif
+
#ifdef _BSD_SOURCE
typedef void (*sig_t)(int);
#endif
int sigisemptyset(const sigset_t *);
#define SA_NOMASK SA_NODEFER
#define SA_ONESHOT SA_RESETHAND
-#define NSIG _NSIG
#endif
#include <bits/signal.h>