projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21077e1
)
build: Fix compilation on win32
author
Andrea Canciani
<ranma42@gmail.com>
Wed, 20 Jun 2012 15:13:33 +0000
(17:13 +0200)
committer
Andrea Canciani
<ranma42@gmail.com>
Wed, 20 Jun 2012 15:13:33 +0000
(17:13 +0200)
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
patch
|
blob
|
history
diff --git
a/pixman/pixman-glyph.c
b/pixman/pixman-glyph.c
index
921eff1
..
cbc3637
100644
(file)
--- 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;