diff --git a/src/harfbuzz-impl.h b/src/harfbuzz-impl.h index 253101415..78fb1eccd 100644 --- a/src/harfbuzz-impl.h +++ b/src/harfbuzz-impl.h @@ -18,7 +18,9 @@ FT_BEGIN_HEADER -#include "ftglue.h" +#ifndef NULL +# define NULL ((void *)0) +#endif #ifndef FALSE # define FALSE 0 @@ -28,6 +30,8 @@ FT_BEGIN_HEADER # define TRUE 1 #endif +#include "ftglue.h" + #define ARRAY_LEN(Array) ((int)(sizeof (Array) / sizeof (Array)[0]))