Ensure config.h is included first, bug#89336.

config.h may define ABI-specific macros, especially for AIX,
so has to be included before any system header - via fcint.h.

https://bugs.freedesktop.org/show_bug.cgi?id=89336
This commit is contained in:
Michael Haubenwallner 2015-02-26 12:23:27 +01:00 committed by Akira TAGOH
parent 8809d1b73b
commit 1add10bfbc
1 changed files with 1 additions and 2 deletions

View File

@ -21,10 +21,9 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <stdio.h>
#include "fcint.h" #include "fcint.h"
#include "fcarch.h" #include "fcarch.h"
#include <stdio.h>
FC_ASSERT_STATIC (1 == sizeof (char)); FC_ASSERT_STATIC (1 == sizeof (char));
FC_ASSERT_STATIC (2 == sizeof (FcChar16)); FC_ASSERT_STATIC (2 == sizeof (FcChar16));