Skip to content

Commit

Permalink
Configuration - regression in wasm build #342
Browse files Browse the repository at this point in the history
Quick fix absent definitions
  • Loading branch information
oan authored and dpasukhi committed Feb 4, 2025
1 parent 6c77143 commit f3890bf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/OpenGl/OpenGl_GraphicDriver.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,13 @@ IMPLEMENT_STANDARD_RTTIEXT(OpenGl_GraphicDriver, Graphic3d_GraphicDriver)
#include <Aspect_NeutralWindow.hxx>
#endif

#if !defined(_WIN32) && !defined(__ANDROID__) && !defined(__QNX__) && !defined(__EMSCRIPTEN__) \
#if !defined(_WIN32) && !defined(__ANDROID__) && !defined(__QNX__) \
&& (!defined(__APPLE__) || defined(HAVE_XLIB))
#include <X11/Xlib.h> // XOpenDisplay()
#include <GL/glx.h>
#include <X11/Xutil.h>
#if !defined(__EMSCRIPTEN__)
#include <GL/glx.h>
#endif
#endif

#if !defined(HAVE_EGL)
Expand Down

0 comments on commit f3890bf

Please sign in to comment.