]> granicus.if.org Git - graphviz/commitdiff
add "extern codegen_t GD_CodeGen;" in case no freetype installed.
authorellson <devnull@localhost>
Tue, 18 Oct 2005 19:05:04 +0000 (19:05 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 19:05:04 +0000 (19:05 +0000)
lib/common/fontmetrics.c

index 5041cafb778747a9d16c4e87e1b3a14de66ca6d9..9a3a21681e8239aa697b59579220c15984892668 100644 (file)
@@ -137,6 +137,8 @@ void initDPI(graph_t * g)
     _dpi = GD_drawing(g)->dpi;
 }
 
+extern codegen_t GD_CodeGen;
+
 double textheight(int nlines, double fontsz)
 {
     if (Output_codegen == &GD_CodeGen) {