From 3a5933691851785c3c911787c8aea2d4c4c7cfd5 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 3 Jun 2023 01:26:11 +0200 Subject: [PATCH] intl: Silence a "no previous prototype" warning. * gettext-runtime/intl/langprefs.c: Include gettextP.h. --- gettext-runtime/intl/langprefs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gettext-runtime/intl/langprefs.c b/gettext-runtime/intl/langprefs.c index 937cdf1bd..9f5066ea6 100644 --- a/gettext-runtime/intl/langprefs.c +++ b/gettext-runtime/intl/langprefs.c @@ -21,6 +21,9 @@ # include #endif +/* Specification. */ +#include "gettextP.h" + #include #if HAVE_CFLOCALECOPYPREFERREDLANGUAGES || HAVE_CFPREFERENCESCOPYAPPVALUE -- 2.47.2