$OpenBSD$

Index: src/xrEngine/device.h
--- src/xrEngine/device.h.orig
+++ src/xrEngine/device.h
@@ -308,7 +308,7 @@ class ENGINE_API CRenderDevice : public CRenderDeviceB
     void CalcFrameStats();
 
 public:
-#if !defined(XR_PLATFORM_LINUX)
+#if !defined(XR_PLATFORM_LINUX) && !defined(XR_PLATFORM_FREEBSD) && !defined(XR_PLATFORM_OPENBSD)
     bool xr_stdcall on_message(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT& result);
 #endif
 
@@ -386,3 +386,4 @@ class CUIResetNotifier : public pureUIReset (public)
 };
 
 #endif
+
