A testdir of 'getaddrinfo' fails to compile on native Windows:

../../gltests/../gllib/gettext.h:129:67: Fehler: »LC_MESSAGES« nicht deklariert 
(erste Benutzung in dieser Funktion)
    pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)
                                                                   ^

This patch fixes it.


2025-02-12  Bruno Haible  <br...@clisp.org>

        gettext-h: Fix compilation error on native Windows.
        * modules/gettext-h (Depends-on): Add locale-h.

diff --git a/modules/gettext-h b/modules/gettext-h
index a0036d09c4..05e39ed709 100644
--- a/modules/gettext-h
+++ b/modules/gettext-h
@@ -5,6 +5,7 @@ Files:
 lib/gettext.h
 
 Depends-on:
+locale-h
 vararrays
 
 configure.ac:




Reply via email to