Remove redudant check for direct #include gslice.h
authorRyan Lortie <desrt@desrt.ca>
Mon, 22 Feb 2010 00:39:33 +0000 (19:39 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 22 Feb 2010 05:35:45 +0000 (00:35 -0500)
This was added before we had a standardised header check and not removed
when the standard check was added.

glib/gslice.c
glib/gslice.h

index c73884b..66fd9e5 100644 (file)
@@ -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
index f9cc644..962199e 100644 (file)
 #ifndef __G_SLICE_H__
 #define __G_SLICE_H__
 
-#ifndef __G_MEM_H__
-#error Include <glib.h> instead of <gslice.h>
-#endif
-
 #include <glib/gtypes.h>
 
 G_BEGIN_DECLS