summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coro.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/coro.c b/coro.c
index 02fef11..68a52d0 100644
--- a/coro.c
+++ b/coro.c
@@ -48,9 +48,12 @@
#if CORO_SJLJ || CORO_LOSER || CORO_LINUX || CORO_IRIX
+#include <stdlib.h>
+
#if CORO_SJLJ
# include <stdio.h>
# include <signal.h>
+# include <unistd.h>
#endif
static volatile coro_func coro_init_func;