diff options
Diffstat (limited to 'coroutine/copy/Context.h')
-rw-r--r-- | coroutine/copy/Context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coroutine/copy/Context.h b/coroutine/copy/Context.h index 1319f55d16..5e5d9e037a 100644 --- a/coroutine/copy/Context.h +++ b/coroutine/copy/Context.h @@ -12,7 +12,11 @@ #include <setjmp.h> #include <string.h> #include <stdlib.h> + +/* OpenBSD supports alloca, but does not include alloca.h */ +#ifndef __OpenBSD__ #include <alloca.h> +#endif #define COROUTINE __attribute__((noreturn)) void |