summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/ruler.cpp
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-06-28 09:01:27 +0000
committerrwst <rwst@users.sourceforge.net>2006-06-28 09:01:27 +0000
commitea3faeec67199dcf3998da620b9654e5389679df (patch)
tree59fc0cb83671ff439d39d2eb5e997484a20554e7 /src/ui/widget/ruler.cpp
parentanother prototype include to compile on CentOS, finally fixes #1505373 (diff)
downloadinkscape-ea3faeec67199dcf3998da620b9654e5389679df.tar.gz
inkscape-ea3faeec67199dcf3998da620b9654e5389679df.zip
do some include changes more correctly
(bzr r1311)
Diffstat (limited to 'src/ui/widget/ruler.cpp')
-rw-r--r--src/ui/widget/ruler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widget/ruler.cpp b/src/ui/widget/ruler.cpp
index fbed6c845..eab05ca44 100644
--- a/src/ui/widget/ruler.cpp
+++ b/src/ui/widget/ruler.cpp
@@ -12,9 +12,9 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-extern "C" { // glib-2.4 needs this
-#include <libintl.h>
-}
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <glibmm/i18n.h>