texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Gavin D. Smith
Date: Sat, 7 Sep 2024 14:23:58 -0400 (EDT)

tag: texinfo-7.1.1
commit cc86ecfe2fa62fd41eb79bbdb29fe626616a9693
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Sep 7 18:48:01 2024 +0100

    * tp/Texinfo/XS/parsetexi/api.c: wrap include of <libintl.h> in
---
 ChangeLog                     | 5 +++++
 tp/Texinfo/XS/parsetexi/api.c | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 6818a05f0b..19592873d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-09-07  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * tp/Texinfo/XS/parsetexi/api.c: wrap include of <libintl.h> in
+       #ifdef ENABLE_NLS.  Report from Nelson Beebe and fix from Patrice.
+
 2024-09-07  Gavin Smith <gavinsmith0123@gmail.com>
 
        Increase version
diff --git a/tp/Texinfo/XS/parsetexi/api.c b/tp/Texinfo/XS/parsetexi/api.c
index bc88640925..06a336f7cc 100644
--- a/tp/Texinfo/XS/parsetexi/api.c
+++ b/tp/Texinfo/XS/parsetexi/api.c
@@ -30,7 +30,9 @@
 
 #undef context
 
+#ifdef ENABLE_NLS
 #include <libintl.h>
+#endif
 
 #include <stdlib.h>
 #include <stdio.h>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]