test: Do not include config.h unless HAVE_CONFIG_H is defined
authorAndrea Canciani <ranma42@gmail.com>
Sun, 4 Sep 2011 20:52:53 +0000 (13:52 -0700)
committerAndrea Canciani <ranma42@gmail.com>
Wed, 14 Sep 2011 14:03:35 +0000 (07:03 -0700)
commit479d0944851fffda7ed860523feb388fec028545
tree623113ccc72ad581862f017208a5e1c8c2c74b52
parentd46a9f3acef21b50639c64f190a0de7eca21747c
test: Do not include config.h unless HAVE_CONFIG_H is defined

The win32 build system does not generate config.h and correctly runs
the compiler without defining HAVE_CONFIG_H. Nevertheless some files
include config.h without checking for its availability, breaking the
build from a clean directory:

test\utils.h(2) : fatal error C1083: Cannot open include file:
'config.h': No such file or directory
...
test/blitters-test.c
test/composite.c
test/fetch-test.c
test/pdf-op-test.c
test/scaling-helpers-test.c
test/utils.h