$OpenBSD$

Index: src/xrCore/LocatorAPI_defs.h
--- src/xrCore/LocatorAPI_defs.h.orig
+++ src/xrCore/LocatorAPI_defs.h
@@ -70,7 +70,7 @@ struct XRCORE_API FS_File (public)
     FS_File(const _FINDDATA_T& f);
     FS_File(const xr_string& nm, const _FINDDATA_T& f);
     FS_File(const xr_string& nm, long sz, time_t modif, unsigned attr);
-    bool operator<(const FS_File& _X) const { return xr_strcmp(name.c_str(), _X.name.c_str()) < 0; }
+    bool operator<(const FS_File& _XX) const { return xr_strcmp(name.c_str(), _XX.name.c_str()) < 0; } // _X is a build in macro
 };
 using FS_FileSet = xr_set<FS_File>;
 
