summaryrefslogtreecommitdiff
path: root/ccss-cairo/ccss-cairo-style.h
diff options
context:
space:
mode:
authorRobert Staudinger <robertx.staudinger@intel.com>2009-04-09 16:38:11 +0200
committerRobert Staudinger <robertx.staudinger@intel.com>2009-04-09 16:38:11 +0200
commit1e5ff6df011832a6788b5efd405fa54e7c966bfd (patch)
tree0b905f0e84cfede0366927a0510b288ab9b51e3f /ccss-cairo/ccss-cairo-style.h
parent51840d64a74287c7e83d9624d8cc6d357f8db2c6 (diff)
Force per library single header inclusion.
Diffstat (limited to 'ccss-cairo/ccss-cairo-style.h')
-rw-r--r--ccss-cairo/ccss-cairo-style.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ccss-cairo/ccss-cairo-style.h b/ccss-cairo/ccss-cairo-style.h
index 039c8bb..1336704 100644
--- a/ccss-cairo/ccss-cairo-style.h
+++ b/ccss-cairo/ccss-cairo-style.h
@@ -22,6 +22,12 @@
#ifndef CCSS_CAIRO_STYLE_H
#define CCSS_CAIRO_STYLE_H
+#ifndef CCSS_CAIRO_H
+ #ifndef CCSS_CAIRO_BUILD
+ #error "Only <ccss-cairo/ccss-cairo.h> can be included directly."
+ #endif
+#endif
+
#include <cairo.h>
#include <ccss/ccss.h>