From 05287db8a5d4557435356df0fcd6e1cf202e6503 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 30 May 2012 11:34:17 +0200 Subject: Add single-include #error in all headers included from telepathy-glib(-dbus).h https://bugs.freedesktop.org/show_bug.cgi?id=49384 --- telepathy-glib/contacts-mixin.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'telepathy-glib/contacts-mixin.h') diff --git a/telepathy-glib/contacts-mixin.h b/telepathy-glib/contacts-mixin.h index ff72a11e9..67cec1be8 100644 --- a/telepathy-glib/contacts-mixin.h +++ b/telepathy-glib/contacts-mixin.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if defined (TP_DISABLE_SINGLE_INCLUDE) && !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CONTACTS_MIXIN_H__ #define __TP_CONTACTS_MIXIN_H__ -- cgit v1.2.1