diff --git a/src/libCom/osi/os/WIN32/getopt.h b/src/libCom/osi/os/WIN32/getopt.h index 04c076a91..e5d69c0f7 100644 --- a/src/libCom/osi/os/WIN32/getopt.h +++ b/src/libCom/osi/os/WIN32/getopt.h @@ -104,7 +104,8 @@ struct option epicsShareFunc extern int epicsShareAPI getopt (int argc, char *const *argv, const char *shortopts); #else /* not __GNU_LIBRARY__ */ -epicsShareFunc extern int epicsShareAPI getopt (); +epicsShareFunc extern int epicsShareAPI + getopt (int argc, char *const *argv, const char *shortopts); #endif /* not __GNU_LIBRARY__ */ epicsShareFunc extern int epicsShareAPI getopt_long (int argc, char *const *argv, const char *shortopts,