[Lsb-messages] /var/www/bzr/lsb/devel/devchk r2298: additional change for "Only <glib.h> can be included directly."
Mats Wichmann
mats at linuxfoundation.org
Thu Sep 20 17:48:58 UTC 2012
------------------------------------------------------------
revno: 2298
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: devchk
timestamp: Thu 2012-09-20 11:48:58 -0600
message:
additional change for "Only <glib.h> can be included directly."
modified:
ts/devchk/glib_2_0_glib_gprintf_h.c
ts/devchk/glib_2_0_glib_gprintf_h.inc
-------------- next part --------------
=== modified file 'ts/devchk/glib_2_0_glib_gprintf_h.c'
--- a/ts/devchk/glib_2_0_glib_gprintf_h.c 2011-12-08 09:18:09 +0000
+++ b/ts/devchk/glib_2_0_glib_gprintf_h.c 2012-09-20 17:48:58 +0000
@@ -7,6 +7,10 @@
#include <string.h>
#include <sys/types.h>
#define _LSB_DEFAULT_ARCH 1
+#ifndef LSBCC_MODE
+#define GLIB_COMPILATION
+#endif
+
#include "glib-2.0/glib.h"
#if (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 14) )
#include "glib-2.0/glib/gutils.h"
=== modified file 'ts/devchk/glib_2_0_glib_gprintf_h.inc'
--- a/ts/devchk/glib_2_0_glib_gprintf_h.inc 2008-07-30 13:37:01 +0000
+++ b/ts/devchk/glib_2_0_glib_gprintf_h.inc 2012-09-20 17:48:58 +0000
@@ -1,3 +1,7 @@
+#ifndef LSBCC_MODE
+#define GLIB_COMPILATION
+#endif
+
#include "glib-2.0/glib.h"
#if (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 14) )
#include "glib-2.0/glib/gutils.h"
More information about the lsb-messages
mailing list