blob: 105650c856442f7683522d109ee11f93cd9637f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- a/tp/Texinfo/XS/parsetexi/api.c
+++ b/tp/Texinfo/XS/parsetexi/api.c
@@ -25,7 +25,9 @@
#undef context
+#if defined(HAVE_LIBINTL_H)
#include <libintl.h>
+#endif
#include <stdlib.h>
#include <stdio.h>
--- a/tp/Texinfo/XS/parsetexi/errors.c
+++ b/tp/Texinfo/XS/parsetexi/errors.c
@@ -14,7 +14,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
+#if defined(HAVE_LIBINTL_H)
#include <libintl.h>
+#endif
#include <stdlib.h>
#include <stdarg.h>
|