diff --git a/ares/ares_getopt.h b/ares/ares_getopt.h index 3dafaf38f4c2a124a3a8309a47d7f0327ba483c5..e0eb283232b4c251fc8f5853d196bd671ba8a2b5 100644 --- a/ares/ares_getopt.h +++ b/ares/ares_getopt.h @@ -33,6 +33,12 @@ int ares_getopt(int nargc, char * const nargv[], const char *ostr); +#if defined(WATT32) +#undef optarg +#undef optind +#undef opterr +#endif + extern char *optarg; extern int optind; extern int opterr;