Commits

Anonymous committed 5f9dbb2

- sync to 2.0.33

Comments (0)

Files changed (3)

src/fontconfigtest.c

-#include <gd.h>
-
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
+
+#include "gd.h"
 
 int main (int argc, char *argv[])
 {
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdio.h>
+#include <stdlib.h>
+
 #include "gd.h"
 
 /* A short program which converts a .gif file into a .gd file, for
 {
   gdImagePtr im;
   FILE *in, *out;
-  int x, y, w, h;
+  int x=0, y=0, w=0, h=0;
   if ((argc != 3) && (argc != 7))
     {
       fprintf (stderr,