glib r7460 - in branches/glib-2-16: . glib
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7460 - in branches/glib-2-16: . glib
- Date: Thu, 11 Sep 2008 18:47:50 +0000 (UTC)
Author: matthiasc
Date: Thu Sep 11 18:47:50 2008
New Revision: 7460
URL: http://svn.gnome.org/viewvc/glib?rev=7460&view=rev
Log:
Bug 548321 â <string.h> is not included in gi18n-lib.h
* glib/gi18n.h:
* glib/gi18n-lib.h: Include string.h, since strlen is used in
the macros. Pointed out by Ignacio Casal Quinteiro
Modified:
branches/glib-2-16/ChangeLog
branches/glib-2-16/glib/gi18n-lib.h
branches/glib-2-16/glib/gi18n.h
Modified: branches/glib-2-16/glib/gi18n-lib.h
==============================================================================
--- branches/glib-2-16/glib/gi18n-lib.h (original)
+++ branches/glib-2-16/glib/gi18n-lib.h Thu Sep 11 18:47:50 2008
@@ -22,6 +22,7 @@
#include <glib/gstrfuncs.h>
#include <libintl.h>
+#include <string.h>
#ifndef GETTEXT_PACKAGE
#error You must define GETTEXT_PACKAGE before including gi18n-lib.h.
Modified: branches/glib-2-16/glib/gi18n.h
==============================================================================
--- branches/glib-2-16/glib/gi18n.h (original)
+++ branches/glib-2-16/glib/gi18n.h Thu Sep 11 18:47:50 2008
@@ -21,6 +21,7 @@
#include <glib/gstrfuncs.h>
#include <libintl.h>
+#include <string.h>
#define _(String) gettext (String)
#define Q_(String) g_dpgettext (NULL, String, 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]