From bce3e0b0d4ee521767d80c5c21704337bf5ac716 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 31 Mar 2006 12:45:40 +0000 Subject: [PATCH] Define NULL. --- src/harfbuzz-impl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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]))