summaryrefslogtreecommitdiffstats
path: root/src/sp-font-face.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-font-face.cpp')
-rw-r--r--src/sp-font-face.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sp-font-face.cpp b/src/sp-font-face.cpp
index 78fc51a6b..ad4d586fc 100644
--- a/src/sp-font-face.cpp
+++ b/src/sp-font-face.cpp
@@ -1,3 +1,5 @@
+#include "config.h"
+#ifdef ENABLE_SVG_FONTS
#define __SP_FONTFACE_C__
/*
@@ -531,7 +533,7 @@ static Inkscape::XML::Node *sp_fontface_write(SPObject *object, Inkscape::XML::N
return repr;
}
-
+#endif //#ifdef ENABLE_SVG_FONTS
/*
Local Variables:
mode:c++