diff --git a/src/sp-font-face.cpp b/src/sp-font-face.cpp
index 78fc51a6bf627d9d7ba7bad1c07c62ea3e5302b0..ad4d586fc2e8f3f3d6d9ab1ed527090b5efbe574 100644 (file)
--- a/src/sp-font-face.cpp
+++ b/src/sp-font-face.cpp
+#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++