# HG changeset patch # User Matt Johnston # Date 1495462186 -28800 # Node ID 00fb0a1f9b70ae6fcca464c3d7f271a2fe00084f # Parent a91466491d5b6ab8b1f1412072d5df55ff05b190 define SIZE_T_MAX diff -r a91466491d5b -r 00fb0a1f9b70 includes.h --- a/includes.h Mon May 22 22:09:38 2017 +0800 +++ b/includes.h Mon May 22 22:09:46 2017 +0800 @@ -156,6 +156,10 @@ typedef u_int32_t uint32_t; #endif /* HAVE_UINT32_T */ +#ifndef SIZE_T_MAX +#define SIZE_T_MAX ULONG_MAX +#endif /* SIZE_T_MAX */ + #ifdef SO_PRIORITY #include #include