On OpenBSD MAP_ANONYMOUS is called MAP_ANON.
diff --git a/py/asmx64.c b/py/asmx64.c
index 2c56f35..c542df5 100644
--- a/py/asmx64.c
+++ b/py/asmx64.c
@@ -7,6 +7,10 @@
 #include "misc.h"
 #include "asmx64.h"
 
+#if defined(__OpenBSD__)
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
 /* all offsets are measured in multiples of 8 bytes */
 #define WORD_SIZE                (8)