From 1d1860f31f673f9cf2efb6dc59fdcf8fe625736f Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Thu, 16 Jul 2009 11:13:02 +0100 Subject: Prevent shape.h being included in the server fixesproto includes shape.h, but doesn't want client side headers. This needs to be fixed there, but work around this in shape.h anyway so we don't break older xfixesproto.h. Signed-off-by: Peter Hutterer --- include/X11/extensions/shape.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 #include +#ifndef _SHAPE_SERVER_ #include typedef struct { @@ -149,4 +150,6 @@ extern XRectangle *XShapeGetRectangles ( _XFUNCPROTOEND +#endif /* !_SHAPE_SERVER_ */ + #endif /* _SHAPE_H_ */ -- cgit v1.2.1