summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2005-01-12 20:35:35 +0000
committerroot <root>2005-01-12 20:35:35 +0000
commit6bdb73d9236d564cc4e5b613cc688bfb5b68846f (patch)
tree7f9bc0b4a9662fa8c7fdd5d97190a7dd3ed94454
parentac592223bc7e1592620cfeaa0aad3331b6b012bf (diff)
*** empty log message ***
-rw-r--r--coro.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/coro.h b/coro.h
index e6c5ad9..06eef75 100644
--- a/coro.h
+++ b/coro.h
@@ -149,6 +149,10 @@ struct coro_context {
#elif CORO_SJLJ || CORO_LOOSE || CORO_LINUX || CORO_IRIX
+#ifdef CORO_LINUX
+# define _GNU_SOURCE // for linux libc
+#endif
+
#include <setjmp.h>
struct coro_context {