From ed7e87cdb1b83d9aa2feedf08d8e02468cfcd8c3 Mon Sep 17 00:00:00 2001 From: Andreas Stricker Date: Wed, 9 Jan 2013 17:37:48 +0100 Subject: [PATCH] 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. --- gettext-tools/src/ChangeLog | 5 +++++ gettext-tools/src/po-xerror.c | 1 + gettext-tools/src/read-catalog-abstract.c | 1 + 3 files changed, 7 insertions(+) diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 2ab9c530a..5293673b4 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. + 2012-12-25 Daiki Ueno * gettext-0.18.2 released. 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. */ -- 2.47.2