summaryrefslogtreecommitdiffhomepage
path: root/includes.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-22 22:09:46 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-22 22:09:46 +0800
commita43b6b032369853d92cb6ab11bf89906f256c6a7 (patch)
treeed52e735436b322e9f432e79cffbbb06180c73a9 /includes.h
parent84a143a605cd2658ad359feafda8fc48c2f0d575 (diff)
define SIZE_T_MAX
--HG-- branch : fuzz
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index b3e1357..0dd1417 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>