diff --git a/src/rrd_getopt1.c b/src/rrd_getopt1.c
index 1ace77e24c9157e5254a485d0866b417bc5411e8..ea9ed54568bc731b5e7da29efd5ea89691205e9f 100644 (file)
--- a/src/rrd_getopt1.c
+++ b/src/rrd_getopt1.c
#endif
#endif
+#ifndef WIN32
#ifdef HAVE_CONFIG_H
#include "../rrd_config.h"
#endif
+#endif
#include "rrd_getopt.h"
#endif
int getopt_long(int argc,
+#ifdef WIN32
char** argv,
+#else // WIN32
+ char* const* argv,
+#endif //WIN32
const char* options,
const struct option* long_options,
int* opt_index)
instead. */
int getopt_long_only(int argc,
+#ifdef WIN32
char** argv,
+#else // WIN32
+ char* const* argv,
+#endif //WIN32
const char* options,
const struct option* long_options,
int* opt_index)