Fixed bug 5208 - Fix libGL loading on OpenBSD
diff --git a/src/video/x11/SDL_x11opengl.c b/src/video/x11/SDL_x11opengl.c
index cf7993b..c65db63 100644
--- a/src/video/x11/SDL_x11opengl.c
+++ b/src/video/x11/SDL_x11opengl.c
@@ -32,11 +32,11 @@
#include "SDL_loadso.h"
#include "SDL_x11opengles.h"
-#if defined(__IRIX__) || defined(__NetBSD__)
+#if defined(__IRIX__) || defined(__NetBSD__) || defined(__OpenBSD__)
/*
* IRIX doesn't have a GL library versioning system.
- * NetBSD has different GL library versions depending on how the library was
- * installed (package vs. xsrc).
+ * NetBSD and OpenBSD have different GL library versions depending on how
+ * the library was installed.
*/
#define DEFAULT_OPENGL "libGL.so"
#elif defined(__MACOSX__)