path: root/hw/xfree86/common
diff options
authorFabrice Fontaine <>2019-12-27 23:33:37 +0100
committerAdam Jackson <>2020-01-08 15:55:40 +0000
commit49456e0a37fac7bc9d1f01bc1519fb0d699956db (patch)
tree6fb27472d28c95b72a309d5e8334c063ce708a82 /hw/xfree86/common
parent26004df63c25061586a967f3586795a75280acc2 (diff)
hw/xfree86/common/xf86Init.c: fix build without glx
Since commit d8ec33fe0542141aed1d9016d2ecaf52da944b4b, 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 block) Fixes: - Signed-off-by: Fabrice Fontaine <>
Diffstat (limited to 'hw/xfree86/common')
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index 0631c7237..e6fb11398 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -74,7 +74,6 @@
#include "xf86Crtc.h"
#include "picturestr.h"
#include "randrstr.h"
-#include "glxvndabi.h"
#include "xf86Bus.h"
#include "xf86VGAarbiter.h"