shithub: libmujs

Download patch

ref: 24b1997368f788e1253f6311c2a9f0b5342eab22
parent: 50ee2a2e4d70981534b69c35d7e31f8f32ff4527
author: Tor Andersson <tor.andersson@gmail.com>
date: Thu Apr 20 11:12:28 EDT 2017

Add setjmp.h to public header (since js_try is a macro over setjmp).

--- a/mujs.h
+++ b/mujs.h
@@ -1,6 +1,8 @@
 #ifndef mujs_h
 #define mujs_h
 
+#include <setjmp.h> /* required for setjmp in fz_try macro */
+
 /* noreturn is a GCC extension */
 #ifdef __GNUC__
 #define JS_NORETURN __attribute__((noreturn))