1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-errors.c
Sunpoet Po-Chuan Hsieh d9e09720c0 Fix build with NLS disabled
Reported by:	adamw
2019-10-27 09:59:25 +00:00

13 lines
324 B
C

--- tp/Texinfo/XS/parsetexi/errors.c.orig 2019-08-25 17:11:45 UTC
+++ 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>