summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 d76f5667e52..4f29cd1c549 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 980e50621e1..89130a58f80 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"