include <X11/Xlib.h>
authorAlan Hourihane <alanh@tungstengraphics.com>
Wed, 23 Apr 2008 14:59:23 +0000 (15:59 +0100)
committerAlan Hourihane <alanh@tungstengraphics.com>
Wed, 23 Apr 2008 14:59:23 +0000 (15:59 +0100)
src/glx/x11/dri2_glx.c
src/glx/x11/dri_glx.c

index 66d2163bd5a2786ba41fd2c2c2c3f74ece6a4200..f24492672b08d13dc57c95ffaf03cf7213901aa5 100644 (file)
@@ -33,6 +33,7 @@
 #ifdef GLX_DIRECT_RENDERING
 
 #include <unistd.h>
+#include <X11/Xlib.h>
 #include <X11/extensions/Xfixes.h>
 #include <X11/extensions/Xdamage.h>
 #include "glheader.h"
index 997b0fdf47573cc19befdbe8990e45d218fa55b4..a58060da3a3248f64c24781ddde8c88048be9603 100644 (file)
@@ -35,6 +35,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #ifdef GLX_DIRECT_RENDERING
 
 #include <unistd.h>
+#include <X11/Xlib.h>
 #include <X11/extensions/Xfixes.h>
 #include <X11/extensions/Xdamage.h>
 #include "glheader.h"