summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2008-04-23 15:59:23 +0100
committerAlan Hourihane <[email protected]>2008-04-23 15:59:23 +0100
commit6497d50924230e6b96929c8da0c2bd7287b70d8a (patch)
tree876b479219553cf97045bd91530e8ebd3dd2b88e /src
parentf6f9f5e4814f95db1b71251d818da4fca2ec5e18 (diff)
include <X11/Xlib.h>
Diffstat (limited to 'src')
-rw-r--r--src/glx/x11/dri2_glx.c1
-rw-r--r--src/glx/x11/dri_glx.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/x11/dri2_glx.c b/src/glx/x11/dri2_glx.c
index 66d2163bd5a..f24492672b0 100644
--- a/src/glx/x11/dri2_glx.c
+++ b/src/glx/x11/dri2_glx.c
@@ -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"
diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c
index 997b0fdf475..a58060da3a3 100644
--- a/src/glx/x11/dri_glx.c
+++ b/src/glx/x11/dri_glx.c
@@ -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"