]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
intl: Silence a "no previous prototype" warning.
authorBruno Haible <bruno@clisp.org>
Fri, 2 Jun 2023 23:26:11 +0000 (01:26 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 2 Jun 2023 23:26:11 +0000 (01:26 +0200)
* gettext-runtime/intl/langprefs.c: Include gettextP.h.

gettext-runtime/intl/langprefs.c

index 937cdf1bd2247ad9fa9a6b5899eb6285d90ece39..9f5066ea6373ef8d6f76fd2a926e0fd094e318af 100644 (file)
@@ -21,6 +21,9 @@
 # include <config.h>
 #endif
 
+/* Specification.  */
+#include "gettextP.h"
+
 #include <stdlib.h>
 
 #if HAVE_CFLOCALECOPYPREFERREDLANGUAGES || HAVE_CFPREFERENCESCOPYAPPVALUE