16 lines
749 B
Text
16 lines
749 B
Text
Index: src/OSD/OSD_Path.cxx
|
|
--- src/OSD/OSD_Path.cxx.orig
|
|
+++ src/OSD/OSD_Path.cxx
|
|
@@ -21,9 +21,11 @@
|
|
#include <Standard_ProgramError.hxx>
|
|
#include <TCollection_AsciiString.hxx>
|
|
|
|
+#include <sys/utsname.h> // For 'uname'
|
|
+
|
|
static OSD_SysType whereAmI()
|
|
{
|
|
-#if defined(__digital__) || defined(__FreeBSD__) || defined(SUNOS) || defined(__APPLE__) || defined(__QNX__) || defined(__FreeBSD_kernel__)
|
|
+#if defined(__digital__) || defined(__FreeBSD__) || defined(SUNOS) || defined(__APPLE__) || defined(__QNX__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
|
|
return OSD_UnixBSD;
|
|
#elif defined(sgi) || defined(IRIX) || defined(__sun) || defined(SOLARIS) || defined(__sco__) || defined(__hpux) || defined(HPUX)
|
|
return OSD_UnixSystemV;
|