Index: src/3rdparty/PhysX/pxshared/include/foundation/PxPreprocessor.h
--- src/3rdparty/PhysX/pxshared/include/foundation/PxPreprocessor.h.orig
+++ src/3rdparty/PhysX/pxshared/include/foundation/PxPreprocessor.h
@@ -100,6 +100,9 @@ Operating system defines, see http://sourceforge.net/p
 #define PX_ANDROID 1
 #elif defined(__linux__) || defined (__EMSCRIPTEN__) // note: __ANDROID__ implies __linux__
 #define PX_LINUX 1
+#elif defined(__OpenBSD__)
+#define PX_LINUX 1
+#define PX_OPENBSD 1
 #elif defined(TARGET_OS_IOS) && TARGET_OS_IOS && defined(__APPLE__) && (defined(__arm__) || defined(__arm64__))
 #define PX_IOS 1
 #elif defined(__APPLE__)
@@ -180,6 +183,9 @@ define anything not defined on this platform to 0
 #endif
 #ifndef PX_LINUX
 #define PX_LINUX 0
+#endif
+#ifndef PX_OPENBSD
+#define PX_OPENBSD 0
 #endif
 #ifndef PX_IOS
 #define PX_IOS 0
