X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgetopt.c;h=a2179c6f503513e892b4821ba0d39ad44124077e;hb=00b82fd123ded9b4b8f7ef19cfe5fda35d4afb93;hp=81a8e89b1b4e4d38fd64815e10b2266c829d153b;hpb=5837606887a6d81e8b1f7588525cb1c8783fb62b;p=rrdtool.git diff --git a/src/getopt.c b/src/getopt.c index 81a8e89..a2179c6 100644 --- a/src/getopt.c +++ b/src/getopt.c @@ -31,7 +31,7 @@ #endif #ifdef HAVE_CONFIG_H -#include +#include "../rrd_config.h" #endif #if !defined (__STDC__) || !__STDC__ @@ -79,7 +79,7 @@ #endif #endif -#if defined (WIN32) && !defined (__CYGWIN32__) +#if defined (_WIN32) && !defined (__CYGWIN32__) /* It's not Unix, really. See? Capital letters. */ #include #define getpid() GetCurrentProcessId()