summaryrefslogtreecommitdiff
path: root/py/asmx64.c
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-07 23:06:46 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-07 23:06:46 +0000
commit9c83ec0edac2394431a5d1aecba1d666ffdea0a3 (patch)
treeccf18860da373cf13194788b793a962335d69fef /py/asmx64.c
parent27d4ca7693c276d09a911c00c3442729c516dc23 (diff)
Merge remote-tracking branch 'upstream/master' into dict_feats
Diffstat (limited to 'py/asmx64.c')
-rw-r--r--py/asmx64.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/py/asmx64.c b/py/asmx64.c
index 226d4efee..d3158170f 100644
--- a/py/asmx64.c
+++ b/py/asmx64.c
@@ -1,16 +1,18 @@
#include <stdio.h>
#include <assert.h>
-#include <sys/types.h>
-#include <sys/mman.h>
#include <string.h>
#include "misc.h"
-#include "asmx64.h"
#include "mpconfig.h"
// wrapper around everything in this file
#if MICROPY_EMIT_X64
+#include <sys/types.h>
+#include <sys/mman.h>
+
+#include "asmx64.h"
+
#if defined(__OpenBSD__) || defined(__MACH__)
#define MAP_ANONYMOUS MAP_ANON
#endif