From 37ee1293a35cd2f86463e2954f44db58692aa053 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 11 Feb 2023 11:13:37 -0800 Subject: include config.h in xfontsel.c before checking for USE_GETTEXT It will never be true if we never include the file that defines it. Fixes: f286ef3 ("Use gettext() to localize messages if available") Signed-off-by: Alan Coopersmith --- xfontsel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xfontsel.c b/xfontsel.c index 0900722..c4d16f7 100644 --- a/xfontsel.c +++ b/xfontsel.c @@ -56,6 +56,9 @@ Modified: Mark Leisher to deal with UCS sample text. * Modifications by Jay Hobson (Sun Microsystems) to internationalize messages */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include -- cgit v1.2.3