diff options
Diffstat (limited to 'src/libstddjb/iopause_ppoll.c')
-rw-r--r-- | src/libstddjb/iopause_ppoll.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/iopause_ppoll.c b/src/libstddjb/iopause_ppoll.c index 78d157a..960a464 100644 --- a/src/libstddjb/iopause_ppoll.c +++ b/src/libstddjb/iopause_ppoll.c @@ -4,7 +4,16 @@ #ifdef SKALIBS_HASPPOLL +/* Just in case OpenBSD implements ppoll before fixing EOVERFLOW. + Stranger things have happened in the wonderful world of OpenBSD. */ +#ifndef _BSD_SOURCE +#define _BSD_SOURCE +#endif + +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif + #include <errno.h> #include <time.h> #include <poll.h> |