From: Andreas Stricker Date: Wed, 9 Jan 2013 16:37:48 +0000 (+0100) Subject: Fix undef error count symbol error on OSX X-Git-Tag: v0.18.3~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d9a54eef944f228e31ba00e834db4d574f906a1;p=thirdparty%2Fgettext.git Fix undef error count symbol error on OSX Without including error.h the symbol error_message_count is used instead of rpl_error_message_count during linking in gettext-tools. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index fc37e3fc6..68da6a607 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,8 @@ +2013-01-09 Andreas Stricker (tiny change) + + * po-xerror.c: Include error.h for error_message_count. + * read-catalog-abstract.c: Likewise. + 2013-01-06 Daiki Ueno * msgl-fsearch.c (message_fuzzy_index_ty): Don't use float-derived diff --git a/gettext-tools/src/po-xerror.c b/gettext-tools/src/po-xerror.c index 3456484d6..8a889d815 100644 --- a/gettext-tools/src/po-xerror.c +++ b/gettext-tools/src/po-xerror.c @@ -32,6 +32,7 @@ #include "error-progname.h" #include "xalloc.h" #include "xerror.h" +#include "error.h" #include "xvasprintf.h" #include "po-error.h" #include "gettext.h" diff --git a/gettext-tools/src/read-catalog-abstract.c b/gettext-tools/src/read-catalog-abstract.c index fa932d4d3..cb713dce3 100644 --- a/gettext-tools/src/read-catalog-abstract.c +++ b/gettext-tools/src/read-catalog-abstract.c @@ -31,6 +31,7 @@ #include "xalloc.h" #include "xvasprintf.h" #include "po-xerror.h" +#include "error.h" #include "gettext.h" /* Local variables. */