summaryrefslogtreecommitdiff
path: root/shapestr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-11-03 14:41:33 -0800
committerKeith Packard <keithp@keithp.com>2009-11-03 22:44:56 -0800
commit9d5e140111ef0e7e0c9d30d7e0acf8c43a248816 (patch)
tree813f530b02d2d7d701b8203e4017f022385694a7 /shapestr.h
parent987aeb9bd1915a655f31e250ee9c02d04927b150 (diff)
downloadxorg-proto-xextproto-9d5e140111ef0e7e0c9d30d7e0acf8c43a248816.tar.gz
Allow old servers to build with new headers
This provides header compatibility back to X server version 1.6 at least (that's all I tested). Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'shapestr.h')
-rw-r--r--shapestr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/shapestr.h b/shapestr.h
new file mode 100644
index 0000000..20fde1d
--- /dev/null
+++ b/shapestr.h
@@ -0,0 +1,8 @@
+#ifndef _SHAPESTR_H_
+#define _SHAPESTR_H_
+
+#warning "shapestr.h is obsolete and may be removed in the future."
+#warning "include <X11/extensions/shapeproto.h> for the protocol defines."
+#include <X11/extensions/shapeproto.h>
+
+#endif /* _SHAPESTR_H_ */