openbsd-ports/lang/ruby/2.7/patches/patch-coroutine_copy_Context_h
2022-03-11 19:28:46 +00:00

14 lines
287 B
Plaintext

Index: coroutine/copy/Context.h
--- coroutine/copy/Context.h.orig
+++ coroutine/copy/Context.h
@@ -12,7 +12,9 @@
#include <setjmp.h>
#include <string.h>
#include <stdlib.h>
+#if defined(HAVE_ALLOCA_H)
#include <alloca.h>
+#endif
#define COROUTINE __attribute__((noreturn)) void