aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glxcmdsswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glx/glxcmdsswap.c')
-rw-r--r--xorg-server/glx/glxcmdsswap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg-server/glx/glxcmdsswap.c b/xorg-server/glx/glxcmdsswap.c
index c414dc8e2..5af35913b 100644
--- a/xorg-server/glx/glxcmdsswap.c
+++ b/xorg-server/glx/glxcmdsswap.c
@@ -30,6 +30,10 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
+#else
+
+#include "glheader.h"
+
#endif
#include <string.h>
@@ -41,6 +45,7 @@
#include <pixmapstr.h>
#include <windowstr.h>
#include "glxext.h"
+#include "GL/gl.h"
#include "glapitable.h"
#include "glapi.h"
#include "glthread.h"