Code

do some include changes more correctly
[inkscape.git] / src / extension / dependency.cpp
index 5a8046613dd775198543f8e43c738c8fa59f4afc..473c6dc6269fc7f7543d9d8e9a6c18dd9de66cd9 100644 (file)
@@ -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"