summaryrefslogtreecommitdiff
path: root/lib/wx
diff options
context:
space:
mode:
authorDan Gudmundsson <dgud@erlang.org>2022-11-17 13:44:30 +0100
committerDan Gudmundsson <dgud@erlang.org>2022-11-17 13:44:30 +0100
commit2926bdcc8149596674dd20609cef0ab02eb5ed0b (patch)
tree7ff59ff3d5f4c33b07938a4d094c852b0c9992f7 /lib/wx
parentb24f783b0a21e39f2cba5630dc24086d44cd9a1d (diff)
parentaaa66149df33da3e417aaafb28be799147e9a414 (diff)
downloaderlang-2926bdcc8149596674dd20609cef0ab02eb5ed0b.tar.gz
Merge branch 'maint'
Diffstat (limited to 'lib/wx')
-rw-r--r--lib/wx/c_src/egl_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/c_src/egl_impl.h b/lib/wx/c_src/egl_impl.h
index 21bcf69644..8acb17de02 100644
--- a/lib/wx/c_src/egl_impl.h
+++ b/lib/wx/c_src/egl_impl.h
@@ -29,10 +29,10 @@
#include <windows.h>
#include <gl/gl.h>
#include <gl/glu.h>
-#elif defined(HAVE_GL_GL_H)
+#elif defined(HAVE_GL_GL_H) && defined(HAVE_GL_GLU_H)
#include <GL/gl.h>
# include <GL/glu.h>
-#elif defined(HAVE_OPENGL_GL_H)
+#elif defined(HAVE_OPENGL_GL_H) && defined(HAVE_OPENGL_GLU_H)
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#endif