[Pixman] [PATCH] Fix broken build when HAVE_CONFIG_H is undefined, e.g. on Win32.
ingmar at irsoft.de
ingmar at irsoft.de
Thu May 9 01:55:06 PDT 2013
Greetings everyone, the latest pixman requires a miniscule patch to successfully build on Windows.
---
pixman/pixman-filter.c | 2 ++
pixman/pixman-vmx.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/pixman/pixman-filter.c b/pixman/pixman-filter.c
index 26b39d5..5ff7b6e 100644
--- a/pixman/pixman-filter.c
+++ b/pixman/pixman-filter.c
@@ -28,7 +28,9 @@
#include <stdio.h>
#include <math.h>
#include <assert.h>
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include "pixman-private.h"
typedef double (* kernel_func_t) (double x);
diff --git a/pixman/pixman-vmx.c b/pixman/pixman-vmx.c
index 6868704..f629003 100644
--- a/pixman/pixman-vmx.c
+++ b/pixman/pixman-vmx.c
@@ -25,7 +25,9 @@
* Based on fbmmx.c by Owen Taylor, Søren Sandmann and Nicholas Miell
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include "pixman-private.h"
#include "pixman-combine32.h"
#include <altivec.h>
--
1.7.8.6
More information about the Pixman
mailing list