gettext-full: fix build error

fix #305
This commit is contained in:
hanwckf 2024-09-24 01:34:58 +08:00
parent 2c4310c9af
commit 3b30e3bdb9

View File

@ -0,0 +1,10 @@
--- a/gettext-tools/src/locating-rule.c
+++ b/gettext-tools/src/locating-rule.c
@@ -47,6 +47,7 @@
#include <libxml/parser.h>
#include <libxml/uri.h>
#include "xalloc.h"
+#include <stdlib.h>
#define _(str) gettext (str)