]> granicus.if.org Git - graphviz/commitdiff
Wrap fontconfig include in #ifdef HAVE_FONTCONFIG
authorerg <devnull@localhost>
Mon, 23 Jul 2007 21:37:24 +0000 (21:37 +0000)
committererg <devnull@localhost>
Mon, 23 Jul 2007 21:37:24 +0000 (21:37 +0000)
plugin/pango/gvtextlayout_pango.c

index 443f9e1896a2002c6ba538e06f732799744729be..2da0e54f07d9d8eb28bb5b570d48ca20d60794be 100644 (file)
@@ -19,7 +19,9 @@
 #endif
 
 #include <string.h>
+#ifdef HAVE_FONTCONFIG
 #include <fontconfig/fontconfig.h>
+#endif
 #include "gvplugin_textlayout.h"
 
 #ifdef HAVE_PANGOCAIRO