aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-25 22:52:06 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-25 22:52:06 +0100
commit23fefe409aaebb92e6a10bf2ec2fe1147956f3e0 (patch)
tree4ceeb4a6a576dd27108df5e208faa56e219f2e27
parent427a98693eb6600d3d28d13d8a19f38e94675725 (diff)
downloadtermo-23fefe409aaebb92e6a10bf2ec2fe1147956f3e0.tar.gz
termo-23fefe409aaebb92e6a10bf2ec2fe1147956f3e0.tar.xz
termo-23fefe409aaebb92e6a10bf2ec2fe1147956f3e0.zip
<poll.h> on Solaris needs _XOPEN_SOURCE 600 to ensure it gets sigset_t - Petr Pavlu
-rw-r--r--demo-async.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/demo-async.c b/demo-async.c
index dd869a8..9d398a7 100644
--- a/demo-async.c
+++ b/demo-async.c
@@ -1,3 +1,6 @@
+// <poll.h> might need this for sigset_t
+#define _XOPEN_SOURCE 600
+
#include <poll.h>
#include <stdio.h>