--- a/ExternalFunctionCallback.st Tue Jun 18 12:50:10 2019 +0200
+++ b/ExternalFunctionCallback.st Tue Jun 18 13:57:43 2019 +0200
@@ -34,7 +34,11 @@
# endif
#ifdef HAVE_FFI
-# include <ffi/ffi.h>
+# ifdef __osx__
+# include <ffi/ffi.h>
+# else
+# include <ffi.h>
+# endif
# define MAX_ARGS 128
# ifdef USE_STANDARD_FFI
--- a/ExternalLibraryFunction.st Tue Jun 18 12:50:10 2019 +0200
+++ b/ExternalLibraryFunction.st Tue Jun 18 13:57:43 2019 +0200
@@ -40,7 +40,11 @@
#ifdef HAVE_FFI
-# include <ffi/ffi.h>
+# ifdef __osx__
+# include <ffi/ffi.h>
+# else
+# include <ffi.h>
+# endif
# define MAX_ARGS 128
# ifdef USE_STANDARD_FFI