diff --git a/src/report.c b/src/report.c index fdb670b5e..ce27c520f 100644 --- a/src/report.c +++ b/src/report.c @@ -105,6 +105,11 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include +/* pre-C99 compatibility */ +#ifndef SIZE_MAX +#define SIZE_MAX ((size_t)(-1)) +#endif + #define ECHECK_VERSION "4.01" extern int *storms;