--- ./gettext-runtime/intl/libgnuintl.in.h_orig	2020-10-08 04:14:41 +0000
+++ ./gettext-runtime/intl/libgnuintl.in.h	2020-10-08 04:48:59 +0000
@@ -22,6 +22,9 @@
 # include <xlocale.h>
 #endif
 
+#define locale_t _LC_locale_t
+#include <sys/localedef.h>
+
 /* The LC_MESSAGES locale category is the category used by the functions
    gettext() and dgettext().  It is specified in POSIX, but not in ANSI C.
    On systems that don't define it, use an arbitrary value instead.
