Found a memory management mistake (new Instance should not be transient) while workin...
[cycript.git] / JavaScript.hpp
index a3e9f0a7d7021fac0725b1f2f54a692e512bbb15..f5c487d5144928b789ae5d54b0d723f097f7b409 100644 (file)
 #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;