summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2005-08-01 16:30:24 +0000
committerIan Romanick <[email protected]>2005-08-01 16:30:24 +0000
commit7adcedcd54f6a436512c172e22e98097bfbdbc50 (patch)
tree4729231ae6c6e0201592ca478f5cf6672c21daad
parent29206ae569c4c784ec6884084b4bd8631f66b866 (diff)
Fix build problems related to finding Xthreads.h.
-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"