bench_cascase: include getopt.h only for _WIN32 (like in other places)

Fixes: #561
This commit is contained in:
Azat Khuzhin 2018-10-28 02:00:16 +03:00
parent 99a3887d66
commit fb42e0fac6
No known key found for this signature in database
GPG Key ID: B86086848EF8686D

View File

@ -35,7 +35,8 @@
#ifdef _WIN32 #ifdef _WIN32
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#else #include <getopt.h>
#else /* _WIN32 */
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/resource.h> #include <sys/resource.h>
#endif #endif
@ -48,7 +49,6 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include <errno.h> #include <errno.h>
#include <getopt.h>
#include <event.h> #include <event.h>
#include <evutil.h> #include <evutil.h>