diff --git a/includes.h b/includes.h index b3e13579239dc29183d918a1f71e96c97703538b..0dd1417a6c1eac3f86fc4c52dd12320e5caa1a21 100644 --- a/includes.h +++ b/includes.h @@ -156,6 +156,10 @@ typedef unsigned int u_int32_t; 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 <linux/types.h> #include <linux/pkt_sched.h>