$OpenBSD$

Index: src/vid_voodoo_codegen_x86-64.h
--- src/vid_voodoo_codegen_x86-64.h.orig
+++ src/vid_voodoo_codegen_x86-64.h
@@ -5,7 +5,7 @@
   fbzColorPath
 */
 
-#if defined(__linux__) || defined(__APPLE__)
+#if defined(__unix__) || defined(__APPLE__)
 #include <sys/mman.h>
 #include <unistd.h>
 #endif
