From: Gisle Vanem Date: Thu, 3 May 2018 01:37:41 +0000 (-0700) Subject: Squelch warning about optreset not being declared. X-Git-Tag: libpcap-1.9-bp~50 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/ab7fcd144f38971dbb8b7241c8e4948549f127c8 Squelch warning about optreset not being declared. --- diff --git a/missing/getopt.h b/missing/getopt.h index d176345a..fc83c944 100644 --- a/missing/getopt.h +++ b/missing/getopt.h @@ -2,6 +2,6 @@ * Header for the getopt() we supply if the platform doesn't supply it. */ extern char *optarg; /* getopt(3) external variables */ -extern int optind, opterr, optopt; +extern int optind, opterr, optreset, optopt; extern int getopt(int nargc, char * const *nargv, const char *ostr);