aboutsummaryrefslogtreecommitdiff
path: root/deps/lightning/lib/jit_memory.c
diff options
context:
space:
mode:
authorTwinaphex2020-02-08 17:25:34 +0100
committerGitHub2020-02-08 17:25:34 +0100
commit41ebc18e90652cde98f7b2b823897e9db5f92201 (patch)
tree24948f5e90cc104369326239dcde2f73b8cb944c /deps/lightning/lib/jit_memory.c
parent0adc619b5a5705d16cc6caea64951776ababbb96 (diff)
parent1532f1b13b79ed49927e886e5d526bb27dc5927c (diff)
downloadpcsx_rearmed-41ebc18e90652cde98f7b2b823897e9db5f92201.tar.gz
pcsx_rearmed-41ebc18e90652cde98f7b2b823897e9db5f92201.tar.bz2
pcsx_rearmed-41ebc18e90652cde98f7b2b823897e9db5f92201.zip
Merge pull request #378 from pcercuei/libretro
Fix Linux build
Diffstat (limited to 'deps/lightning/lib/jit_memory.c')
-rw-r--r--deps/lightning/lib/jit_memory.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/lightning/lib/jit_memory.c b/deps/lightning/lib/jit_memory.c
index e6b4c73..33b1c35 100644
--- a/deps/lightning/lib/jit_memory.c
+++ b/deps/lightning/lib/jit_memory.c
@@ -19,7 +19,11 @@
#include <lightning.h>
#include <lightning/jit_private.h>
-#include <mman.h>
+#ifdef _WIN32
+# include <mman.h>
+#else
+# include <sys/mman.h>
+#endif
/*
* Prototypes