From: Azat Khuzhin Date: Sat, 27 Oct 2018 23:00:16 +0000 (+0300) Subject: bench_cascase: include getopt.h only for _WIN32 (like in other places) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb42e0fac60d31e081cce4c19df6061bcb56df20;p=libevent bench_cascase: include getopt.h only for _WIN32 (like in other places) Fixes: #561 --- diff --git a/test/bench_cascade.c b/test/bench_cascade.c index 1248835d..29a3203e 100644 --- a/test/bench_cascade.c +++ b/test/bench_cascade.c @@ -35,7 +35,8 @@ #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include -#else +#include +#else /* _WIN32 */ #include #include #endif @@ -48,7 +49,6 @@ #include #endif #include -#include #include #include