summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-05 18:14:38 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-05 18:14:38 +0000
commit58800d9d604d9aa36fed3f3a4eaddaacc6857877 (patch)
tree3241a49683514ff0c03e50bc16483958e41a652b /src/resources
parent1828eee6a6d91fd385ad1e69d93044516493aa91 (diff)
downloadMana-58800d9d604d9aa36fed3f3a4eaddaacc6857877.tar.gz
Mana-58800d9d604d9aa36fed3f3a4eaddaacc6857877.tar.bz2
Mana-58800d9d604d9aa36fed3f3a4eaddaacc6857877.tar.xz
Mana-58800d9d604d9aa36fed3f3a4eaddaacc6857877.zip
Do not include config.h when the program has not been configured.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/gettext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/gettext.h b/src/resources/gettext.h
index 4b893a6f..9abb5771 100644
--- a/src/resources/gettext.h
+++ b/src/resources/gettext.h
@@ -24,7 +24,9 @@
#ifndef _TMW_RESOURCES_GETTEXT_H
#define _TMW_RESOURCES_GETTEXT_H
+#ifdef HAS_CONFIG_H
#include "../../config.h"
+#endif
#if ENABLE_NLS