summaryrefslogtreecommitdiffstats
path: root/src/sp-root.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-root.cpp')
-rw-r--r--src/sp-root.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sp-root.cpp b/src/sp-root.cpp
index c555c78a0..6ad5ff638 100644
--- a/src/sp-root.cpp
+++ b/src/sp-root.cpp
@@ -13,7 +13,12 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <cstring>
+#include <string>
#include "svg/svg.h"
#include "display/nr-arena-group.h"