diff --git a/src/gmalloc.c b/src/gmalloc.c index 9bf84235ee5..e05b758b766 100644 --- a/src/gmalloc.c +++ b/src/gmalloc.c @@ -36,7 +36,8 @@ Cambridge, MA 02139, USA. #include #endif -#if defined __cplusplus || (defined (__STDC__) && __STDC__) || defined STDC_HEADERS +#if defined __cplusplus || (defined (__STDC__) && __STDC__) || \ + defined STDC_HEADERS || defined PROTOTYPES #undef PP #define PP(args) args #undef __ptr_t