Commit 49456e0a authored by Fabrice Fontaine's avatar Fabrice Fontaine Committed by Adam Jackson
Browse files

hw/xfree86/common/xf86Init.c: fix build without glx

Since commit d8ec33fe, an include on
glxvndabi.h has been added to hw/xfree86/common/xf86Init.c

However, if glx is disabled through --disable-glx and GLX headers are
not installed in the build's environment, build fails on:

In file included from xf86Init.c:81:
../../../include/glxvndabi.h:64:10: fatal error: GL/glxproto.h: No such file or directory
   64 | #include <GL/glxproto.h>
      |          ^~~~~~~~~~~~~~~

Fix this failure by removing this include which does not seem to be
needed (an other option would have been to keep it under an ifdef GLXEXT


Signed-off-by: Fabrice Fontaine's avatarFabrice Fontaine <>
parent 26004df6
......@@ -74,7 +74,6 @@
#include "xf86Crtc.h"
#include "picturestr.h"
#include "randrstr.h"
#include "glxvndabi.h"
#include "xf86Bus.h"
#include "xf86VGAarbiter.h"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment