From b8dff14afa050c1550094420be904e00342f227b Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Mon, 5 Oct 2020 14:28:29 -0400 Subject: [PATCH] _GNU_SOURCE has to be before includes --- ujit_asm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ujit_asm.c b/ujit_asm.c index fda657757b..0db4a540c7 100644 --- a/ujit_asm.c +++ b/ujit_asm.c @@ -1,11 +1,12 @@ +// For MAP_ANONYMOUS on GNU/Linux +#define _GNU_SOURCE + #include #include #include #include #ifndef _WIN32 -// For MAP_ANONYMOUS on GNU/Linux -#define _GNU_SOURCE // For mmapp() #include #endif