Skip to content

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

Fabrice Fontaine requested to merge (removed):master into master

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, 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 block)

Fixes:

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

Merge request reports