summaryrefslogtreecommitdiff
path: root/src/cairo-mutex-list-private.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-09-19 18:51:03 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-09-19 18:51:03 -0400
commit9c36a5f3f19ca5bb2e0bb23baeaa625ad6833ab4 (patch)
treed6d975e00fa8dcf15bf184c0d73bfcebb6b98b0f /src/cairo-mutex-list-private.h
parent2dd90a6c94559374d995475fff8ffff5d0d3ff6f (diff)
[src/Makefile.am.analysis] Check that all headers can be compiled standalone
This ensures that each header includes all headers it depends on. This is now enforced by "make check".
Diffstat (limited to 'src/cairo-mutex-list-private.h')
-rw-r--r--src/cairo-mutex-list-private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cairo-mutex-list-private.h b/src/cairo-mutex-list-private.h
index 5d0e3f29..49f29db1 100644
--- a/src/cairo-mutex-list-private.h
+++ b/src/cairo-mutex-list-private.h
@@ -31,6 +31,11 @@
* Mathias Hasselmann <mathias.hasselmann@gmx.de>
*/
+#ifndef CAIRO_FEATURES_H
+/* This block is to just make this header file standalone */
+#define CAIRO_MUTEX_DECLARE(mutex)
+#endif
+
CAIRO_MUTEX_DECLARE (_cairo_pattern_solid_pattern_cache_lock)
CAIRO_MUTEX_DECLARE (_cairo_pattern_solid_surface_cache_lock)