diff options
author | Andrea Canciani <ranma42@gmail.com> | 2012-06-20 17:13:33 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2012-06-20 17:13:33 +0200 |
commit | 4cbeb0aedccde5d2eb87daec08040a8bf161f6d7 (patch) | |
tree | c27e50500b23c3dd9f5cf275ffb859aa5a46a76f | |
parent | 21077e1b83912b5e895b160bbbcd9b4664191506 (diff) |
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
-rw-r--r-- | pixman/pixman-glyph.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pixman/pixman-glyph.c b/pixman/pixman-glyph.c index 921eff15..cbc3637f 100644 --- a/pixman/pixman-glyph.c +++ b/pixman/pixman-glyph.c @@ -23,10 +23,14 @@ * * Author: Soren Sandmann <sandmann@cs.au.dk> */ + +#ifdef HAVE_CONFIG_H #include <config.h> -#include <stdlib.h> +#endif #include "pixman-private.h" +#include <stdlib.h> + typedef struct glyph_metrics_t glyph_metrics_t; typedef struct glyph_t glyph_t; |