summaryrefslogtreecommitdiffstats
path: root/src/extension/dependency.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/extension/dependency.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/extension/dependency.cpp')
-rw-r--r--src/extension/dependency.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp
index 5a8046613..473c6dc62 100644
--- a/src/extension/dependency.cpp
+++ b/src/extension/dependency.cpp
@@ -7,16 +7,13 @@
* 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>
-
#include "config.h"
#include "path-prefix.h"
-
#include "dependency.h"
#include "db.h"