diff --git a/ChangeLog b/ChangeLog index a046796df..189b79b4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-07-03 Werner Lemberg + + Make ftgrays.c compile stand-alone again. + + * src/smooth/ftgrays.c [_STANDALONE_]: Include `stddef.h'. + (FT_INT_MAX, FT_PtrDist)[_STANDALONE_]: Define. + 2010-07-02 suzuki toshiya Additional fix for Savannah bug #30306. diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c index da530f330..8fb593140 100644 --- a/src/smooth/ftgrays.c +++ b/src/smooth/ftgrays.c @@ -103,10 +103,12 @@ #include #endif +#include #include #include #include #define FT_UINT_MAX UINT_MAX +#define FT_INT_MAX INT_MAX #define ft_memset memset @@ -114,6 +116,8 @@ #define ft_longjmp longjmp #define ft_jmp_buf jmp_buf +typedef ptrdiff_t FT_PtrDist; + #define ErrRaster_Invalid_Mode -2 #define ErrRaster_Invalid_Outline -1