diff --git a/src/rrd_getopt.c b/src/rrd_getopt.c
index 0556c86a82602e2a3ea5c413d4e17cbd56a8a181..5f938f398b691366fd2165c68d4e1b65c18297f4 100644 (file)
--- a/src/rrd_getopt.c
+++ b/src/rrd_getopt.c
long-named options. */
int _getopt_internal(int argc,
+#ifdef WIN32
+ char** argv,
+#else // WIN32
char* const* argv,
+#endif //WIN32
const char *optstring,
const struct option *longopts,
int* longind,