summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
Diffstat (limited to 'Gui')
-rw-r--r--Gui/wm/ws.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c
index 899f6b095d..1a95b6255f 100644
--- a/Gui/wm/ws.c
+++ b/Gui/wm/ws.c
@@ -21,7 +21,13 @@
#include "../../config.h"
#include <X11/extensions/XShm.h>
+#ifdef HAVE_XSHAPE
#include <X11/extensions/shape.h>
+#endif
+#ifdef HAVE_DGA2
+#include <X11/extensions/xf86dga.h>
+#endif
+
#include <sys/ipc.h>
#include <sys/shm.h>