immortalwrt-mt798x/package/libs/gettext-full/patches/160-fix-build-error.patch
2024-09-24 01:34:58 +08:00

11 lines
227 B
Diff

--- 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)