changeset 1367:00fb0a1f9b70 fuzz

define SIZE_T_MAX
author Matt Johnston <matt@ucc.asn.au>
date Mon, 22 May 2017 22:09:46 +0800
parents a91466491d5b
children 10df23099071
files includes.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <linux/types.h>
 #include <linux/pkt_sched.h>