aboutsummaryrefslogtreecommitdiffstats
path: root/make/joal-CustomCCode.c
diff options
context:
space:
mode:
Diffstat (limited to 'make/joal-CustomCCode.c')
-rwxr-xr-xmake/joal-CustomCCode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/joal-CustomCCode.c b/make/joal-CustomCCode.c
index a6d0bb6..26c9b42 100755
--- a/make/joal-CustomCCode.c
+++ b/make/joal-CustomCCode.c
@@ -1,6 +1,10 @@
#if defined(_MSC_VER) /* Windows */
#include <windows.h>
static HMODULE oalModule = NULL;
+#else
+/* Hack for Linux */
+#define __USE_GNU
+#include <dlfcn.h>
#endif
/* Java->C glue code: