summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-11 11:13:37 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-11 11:13:37 -0800
commit37ee1293a35cd2f86463e2954f44db58692aa053 (patch)
tree22ff41a4c958085ef2393f1a71f95551e0d62831
parentf286ef347dc9e87c6d5b5b8bce22afdeb82af4ed (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.c3
1 files changed, 3 insertions, 0 deletions
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 <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>