[Pixman] [PATCH 1/2] Added HAVE_CONFIG_H check before including config.h
Sebastian Bauer
mail at sebastianbauer.info
Mon Jul 30 22:30:31 PDT 2012
---
pixman/make-srgb.pl | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/pixman/make-srgb.pl b/pixman/make-srgb.pl
index ebde2ea..cdaa80b 100644
--- a/pixman/make-srgb.pl
+++ b/pixman/make-srgb.pl
@@ -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
--
1.7.10.4
More information about the Pixman
mailing list