Added HAVE_CONFIG_H check before including config.h
authorSebastian Bauer <mail@sebastianbauer.info>
Tue, 31 Jul 2012 05:30:31 +0000 (07:30 +0200)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Wed, 1 Aug 2012 19:21:51 +0000 (15:21 -0400)
pixman/make-srgb.pl

index ebde2ea..cdaa80b 100644 (file)
@@ -72,7 +72,10 @@ print <<"PROLOG";
 
 #include <stdint.h>
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "pixman-private.h"
 
 PROLOG