projects
/
cycript.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Found a memory management mistake (new Instance should not be transient) while workin...
[cycript.git]
/
JavaScript.hpp
diff --git
a/JavaScript.hpp
b/JavaScript.hpp
index a3e9f0a7d7021fac0725b1f2f54a692e512bbb15..f5c487d5144928b789ae5d54b0d723f097f7b409 100644
(file)
--- a/
JavaScript.hpp
+++ b/
JavaScript.hpp
@@
-46,7
+46,11
@@
#include <JavaScriptCore/JSObjectRef.h>
#include <JavaScriptCore/JSValueRef.h>
+#ifdef HAVE_FFI_FFI_H
+#include <ffi/ffi.h>
+#else
#include <ffi.h>
+#endif
extern JSStringRef Array_s;
extern JSStringRef cy_s;