summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoringmar@irsoft.de <ingmar@irsoft.de>2013-05-11 11:55:04 +0200
committerSøren Sandmann Pedersen <ssp@redhat.com>2013-05-11 16:09:39 -0400
commitcb5d131ff4172a9bb455970cc15d93d8c1d14c4e (patch)
tree372af2276a4c12069e46135e03d2f5fed90b6e7a
parentd70141955e9f85b80f193bf4b453b698f5115734 (diff)
Fix broken build when HAVE_CONFIG_H is undefined, e.g. on Win32.
Build fix for platforms without a generated config.h, for example Win32.
-rw-r--r--pixman/pixman-filter.c2
-rw-r--r--pixman/pixman-vmx.c2
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>