From: Mark Andrews Date: Thu, 20 Jun 2019 05:29:20 +0000 (+1000) Subject: define ULLONG_MAX if not already defined X-Git-Tag: v9.15.2~36^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=79eed4e5c6a754b7d160bda41e26cf8f40746d9a;p=thirdparty%2Fbind9.git define ULLONG_MAX if not already defined (cherry picked from commit 4110b9184da5660372342d620700436abac25c52) --- diff --git a/lib/dns/gen.c b/lib/dns/gen.c index 472ce43f91e..201429f132f 100644 --- a/lib/dns/gen.c +++ b/lib/dns/gen.c @@ -43,6 +43,10 @@ #include "gen-unix.h" #endif +#ifndef ULLONG_MAX +#define ULLONG_MAX (~0ULL) +#endif + #define INSIST(cond) \ if (!(cond)) { \ fprintf(stderr, "%s:%d: INSIST(%s)\n", \