From: Matthias Clasen Date: Thu, 11 Sep 2008 16:48:44 +0000 (+0000) Subject: Bug 548321 – is not included in gi18n-lib.h X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=dc85674b572227985da075490659d9399a7fd598;p=dana%2Fcg-glib.git Bug 548321 – is not included in gi18n-lib.h 2008-09-11 Matthias Clasen Bug 548321 – 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 svn path=/trunk/; revision=7455 --- diff --git a/ChangeLog b/ChangeLog index e9fb7ebb..d053c345 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-09-11 Matthias Clasen + + Bug 548321 – 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 + 2008-09-10 Matthias Clasen Bug 551731 – g_date_set_time[_t] docs should mention what timezone diff --git a/glib/gi18n-lib.h b/glib/gi18n-lib.h index 105f4d14..ca002a72 100644 --- a/glib/gi18n-lib.h +++ b/glib/gi18n-lib.h @@ -23,6 +23,7 @@ #include #include +#include #ifndef GETTEXT_PACKAGE #error You must define GETTEXT_PACKAGE before including gi18n-lib.h. Did you forget to include config.h? diff --git a/glib/gi18n.h b/glib/gi18n.h index b8355464..c710046e 100644 --- a/glib/gi18n.h +++ b/glib/gi18n.h @@ -23,6 +23,7 @@ #include #include +#include #define _(String) gettext (String) #define Q_(String) g_dpgettext (NULL, String, 0)