From b9d728474ebc51c0d4ff46cb44d97134730174fc Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Sun, 21 Feb 2010 19:39:33 -0500 Subject: [PATCH] Remove redudant check for direct #include gslice.h This was added before we had a standardised header check and not removed when the standard check was added. --- glib/gslice.c | 2 ++ glib/gslice.h | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/glib/gslice.c b/glib/gslice.c index c73884b19..66fd9e5fa 100644 --- a/glib/gslice.c +++ b/glib/gslice.c @@ -20,6 +20,8 @@ #include "config.h" +#include "gslice.h" + #if defined HAVE_POSIX_MEMALIGN && defined POSIX_MEMALIGN_WITH_COMPLIANT_ALLOCS # define HAVE_COMPLIANT_POSIX_MEMALIGN 1 #endif diff --git a/glib/gslice.h b/glib/gslice.h index f9cc64426..962199e09 100644 --- a/glib/gslice.h +++ b/glib/gslice.h @@ -24,10 +24,6 @@ #ifndef __G_SLICE_H__ #define __G_SLICE_H__ -#ifndef __G_MEM_H__ -#error Include instead of -#endif - #include G_BEGIN_DECLS