From c1598a33c4cdf61d5290d0ce90a9d7588009c2e7 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Fri, 4 Mar 2022 05:38:46 +0000 Subject: [PATCH] src/3rdparty: Add missing externs in bsd-getopt-long.h --- src/3rdparty/bsd-getopt-long.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/3rdparty/bsd-getopt-long.h b/src/3rdparty/bsd-getopt-long.h index 9a1a9cd85a..c812689bad 100644 --- a/src/3rdparty/bsd-getopt-long.h +++ b/src/3rdparty/bsd-getopt-long.h @@ -97,6 +97,12 @@ int pure_getopt_long_only(int nargc, char * const *nargv, int pure_getopt(int nargc, char * const *nargv, const char *options); +extern const char *pure_optarg; /* getopt(3) external variables */ +extern int pure_opterr; +extern int pure_optind; +extern int pure_optopt; +extern int pure_optreset; + #ifdef __cplusplus } #endif