<poll.h> on Solaris needs _XOPEN_SOURCE 600 to ensure it gets sigset_t - Petr Pavlu

This commit is contained in:
Paul LeoNerd Evans 2011-08-25 22:52:06 +01:00
parent 427a98693e
commit 23fefe409a

View File

@ -1,3 +1,6 @@
// <poll.h> might need this for sigset_t
#define _XOPEN_SOURCE 600
#include <poll.h>
#include <stdio.h>