Index: code/graphics/openxr.cpp
--- code/graphics/openxr.cpp.orig
+++ code/graphics/openxr.cpp
@@ -9,7 +9,7 @@
 
 std::unique_ptr<star[]> Stars_XRBuffer;
 
-#ifndef __APPLE_CC__
+#if !defined(__APPLE_CC__) && !defined(__OpenBSD__)
 
 #define XR_MAKE_VERSION_SHORT(major, minor, patch) \
     ((((major) & 0x3ffU) << 20) | (((minor) & 0x3ffU) << 10) | ((patch) & 0x3ffU))
@@ -545,4 +545,4 @@ bool openxr_requested() { return false; }
 
 OpenXRTrackingInfo openxr_start_stereo_frame() { return OpenXRTrackingInfo{}; }
 
-#endif
\ No newline at end of file
+#endif
