diff --git a/src/lib/w32/unistd.h b/src/lib/w32/unistd.h index 5d5d7764..5bce09be 100644 --- a/src/lib/w32/unistd.h +++ b/src/lib/w32/unistd.h @@ -38,9 +38,15 @@ #include #undef fileno #include "sys/socket.h" -#include "getopt.h" #include +/* + * getopt.c + */ +extern int getopt(int, char * const[], const char *); +extern char *optarg; +extern int optind, opterr, optopt; + /* * posixfile.c */