diff options
Diffstat (limited to 'glib/gslice.h')
-rw-r--r-- | glib/gslice.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/glib/gslice.h b/glib/gslice.h index cd3b5aadb..56dc73fb8 100644 --- a/glib/gslice.h +++ b/glib/gslice.h @@ -16,6 +16,11 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ + +#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__G_LIB_H__) && !defined (GLIB_COMPILATION) +#error "Only <glib.h> can be included directly." +#endif + #ifndef __G_SLICE_H__ #define __G_SLICE_H__ |