summaryrefslogtreecommitdiff
path: root/src/glx/x11
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/x11')
-rw-r--r--src/glx/x11/glxclient.h2
-rw-r--r--src/glx/x11/glxext.c5
2 files changed, 1 insertions, 6 deletions
diff --git a/src/glx/x11/glxclient.h b/src/glx/x11/glxclient.h
index d76f5667e5..4f29cd1c54 100644
--- a/src/glx/x11/glxclient.h
+++ b/src/glx/x11/glxclient.h
@@ -61,7 +61,7 @@
#include "glapitable.h"
#include "glxextensions.h"
#if defined( XTHREADS )
-# include "Xthreads.h"
+# include <X11/Xthreads.h>
#elif defined( PTHREADS )
# include <pthread.h>
#endif
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index 980e50621e..89130a58f8 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -51,11 +51,6 @@
#include <assert.h>
#include "indirect_init.h"
#include "glapi.h"
-#ifdef XTHREADS
-# include "Xthreads.h"
-#elif defined(PTHREADS)
-# include <pthread.h>
-#endif
#include "glxextensions.h"
#include "glcontextmodes.h"
#include "glheader.h"