$OpenBSD$
--- src/renderer/qgl.h.orig	Tue Aug 10 18:16:58 2010
+++ src/renderer/qgl.h	Sun Aug 15 00:37:29 2010
@@ -52,7 +52,7 @@ If you have questions concerning this license or the a
 
 #include "macosx_glimp.h"
 
-#elif defined( __linux__ )
+#elif defined( __OpenBSD__ )
 
 #include <GL/gl.h>
 #include <GL/glx.h>
@@ -202,7 +202,7 @@ extern void ( APIENTRY * qglPNTrianglesfATI )( GLenum 
 //===========================================================================
 
 // non-windows systems will just redefine qgl* to gl*
-#if !defined( _WIN32 ) && !defined( MACOS_X ) && !defined( __linux__ ) && !defined( __FreeBSD__ ) // rb010123
+#if !defined( _WIN32 ) && !defined( MACOS_X ) && !defined( __OpenBSD__ ) && !defined( __FreeBSD__ ) // rb010123
 
 #include "qgl_linked.h"
 
@@ -589,7 +589,7 @@ extern BOOL ( WINAPI * qwglSwapIntervalEXT )( int inte
 
 #endif  // _WIN32
 
-#if ( ( defined __linux__ )  || ( defined __FreeBSD__ ) ) // rb010123
+#if ( ( defined __OpenBSD__ )  || ( defined __FreeBSD__ ) ) // rb010123
 
 //FX Mesa Functions
 // bk001129 - from cvs1.17 (mkv)
