summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/X11/extensions/shape.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/X11/extensions/shape.h b/include/X11/extensions/shape.h
index 6fa83d9..7992f7a 100644
--- a/include/X11/extensions/shape.h
+++ b/include/X11/extensions/shape.h
@@ -33,6 +33,7 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xfuncproto.h>
#include <X11/extensions/shapeconst.h>
+#ifndef _SHAPE_SERVER_
#include <X11/Xutil.h>
typedef struct {
@@ -149,4 +150,6 @@ extern XRectangle *XShapeGetRectangles (
_XFUNCPROTOEND
+#endif /* !_SHAPE_SERVER_ */
+
#endif /* _SHAPE_H_ */