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 43f88d335..57ba1638e 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>
@@ -40,6 +44,7 @@
#include <pixmapstr.h>
#include <windowstr.h>
#include "glxext.h"
+#include "GL/gl.h"
#include "glapitable.h"
#include "glapi.h"
#include "glthread.h"