diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-11 11:13:37 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-11 11:13:37 -0800 |
commit | 37ee1293a35cd2f86463e2954f44db58692aa053 (patch) | |
tree | 22ff41a4c958085ef2393f1a71f95551e0d62831 | |
parent | f286ef347dc9e87c6d5b5b8bce22afdeb82af4ed (diff) |
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 <alan.coopersmith@oracle.com>
-rw-r--r-- | xfontsel.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -56,6 +56,9 @@ Modified: Mark Leisher <mleisher@crl.nmsu.edu> to deal with UCS sample text. * Modifications by Jay Hobson (Sun Microsystems) to internationalize messages */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include <stdio.h> #include <stdlib.h> |