summaryrefslogtreecommitdiffstats
path: root/lib/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parse.c')
-rw-r--r--lib/parse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/parse.c b/lib/parse.c
index e347c69..a07168d 100644
--- a/lib/parse.c
+++ b/lib/parse.c
@@ -21,6 +21,10 @@
#include <libipset/utils.h> /* string utilities */
#include <libipset/parse.h> /* prototypes */
+#ifndef ULLONG_MAX
+#define ULLONG_MAX 18446744073709551615ULL
+#endif
+
/* Parse input data */
#define cidr_separator(str) ipset_strchr(str, IPSET_CIDR_SEPARATOR)