From: Carlos Garcia Campos Date: Sat, 23 May 2009 15:36:35 +0000 (+0200) Subject: [libdocument] Add single headers guards X-Git-Tag: EVINCE_2_27_3~64 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=26b1533e697112e62c0373f5d38ebf18d0f491f4;p=evince.git [libdocument] Add single headers guards --- diff --git a/libdocument/ev-annotation.h b/libdocument/ev-annotation.h index 47d908db..456710c0 100644 --- a/libdocument/ev-annotation.h +++ b/libdocument/ev-annotation.h @@ -19,6 +19,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef EV_ANNOTATION_H #define EV_ANNOTATION_H diff --git a/libdocument/ev-document-annotations.h b/libdocument/ev-document-annotations.h index 3942ecfe..ada6b37a 100644 --- a/libdocument/ev-document-annotations.h +++ b/libdocument/ev-document-annotations.h @@ -18,6 +18,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef EV_DOCUMENT_ANNOTATIONS_H #define EV_DOCUMENT_ANNOTATIONS_H