From: Francois-Xavier Le Bail Date: Mon, 9 Sep 2024 08:39:21 +0000 (+0200) Subject: pflog: Include for UINT_MAX X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/a271c5ecb9c9ea1cbecff1569eb647cfb16dc187 pflog: Include for UINT_MAX This change avoids an error with illumos. The error was: print-pflog.c: In function 'pflog_print': print-pflog.c:254:37: error: 'UINT_MAX' undeclared (first use in this function) 254 | if (GET_BE_U_4(hdr->uid) != UINT_MAX) | ^~~~~~~~ print-pflog.c:32:1: note: 'UINT_MAX' is defined in header ''; did you forget to '#include '? --- diff --git a/print-pflog.c b/print-pflog.c index 7cf2c37c..3d72716d 100644 --- a/print-pflog.c +++ b/print-pflog.c @@ -23,6 +23,8 @@ #include +#include + #include "netdissect-stdinc.h" #define ND_LONGJMP_FROM_TCHECK