From 4cbeb0aedccde5d2eb87daec08040a8bf161f6d7 Mon Sep 17 00:00:00 2001 From: Andrea Canciani Date: Wed, 20 Jun 2012 17:13:33 +0200 Subject: [PATCH] build: Fix compilation on win32 When compiling using the win32 build system, config.h is not available nor needed. Fixes: pixman-glyph.c(26) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory --- pixman/pixman-glyph.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pixman/pixman-glyph.c b/pixman/pixman-glyph.c index 921eff1..cbc3637 100644 --- a/pixman/pixman-glyph.c +++ b/pixman/pixman-glyph.c @@ -23,10 +23,14 @@ * * Author: Soren Sandmann */ + +#ifdef HAVE_CONFIG_H #include -#include +#endif #include "pixman-private.h" +#include + typedef struct glyph_metrics_t glyph_metrics_t; typedef struct glyph_t glyph_t; -- 2.7.4