summaryrefslogtreecommitdiff
path: root/yjit_asm_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'yjit_asm_tests.c')
-rw-r--r--yjit_asm_tests.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/yjit_asm_tests.c b/yjit_asm_tests.c
index ccda979437..5f2376127c 100644
--- a/yjit_asm_tests.c
+++ b/yjit_asm_tests.c
@@ -1,8 +1,12 @@
+// For MAP_ANONYMOUS on GNU/Linux
+#define _GNU_SOURCE 1
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
-#include "yjit_asm.h"
+
+#include "yjit_asm.c"
// Print the bytes in a code block
void print_bytes(codeblock_t* cb)