ports/lang/quickjs/patches/patch-quickjs-libc_c

16 lines
267 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: quickjs-libc.c
--- quickjs-libc.c.orig
+++ quickjs-libc.c
@@ -55,6 +55,11 @@ typedef sig_t sighandler_t;
#endif
#endif /* __APPLE__ */
+#if defined(__OpenBSD__)
+typedef sig_t sighandler_t;
+extern char **environ;
+#endif
+
#endif
#if !defined(_WIN32)