[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [PATCH] Fix undef error count symbol error on OSX
From: |
Andreas Stricker |
Subject: |
[bug-gettext] [PATCH] Fix undef error count symbol error on OSX |
Date: |
Wed, 9 Jan 2013 17:37:48 +0100 |
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/po-xerror.c | 1 +
gettext-tools/src/read-catalog-abstract.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/gettext-tools/src/po-xerror.c b/gettext-tools/src/po-xerror.c
index 3456484..8a889d8 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 fa932d4..cb713dc 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. */
--
1.8.0.1
- [bug-gettext] [PATCH] Fix undef error count symbol error on OSX,
Andreas Stricker <=