mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
bench_cascase: include getopt.h only for _WIN32 (like in other places)
Fixes: #561
This commit is contained in:
parent
99a3887d66
commit
fb42e0fac6
@ -35,7 +35,8 @@
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <getopt.h>
|
||||
#else /* _WIN32 */
|
||||
#include <sys/socket.h>
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
@ -48,7 +49,6 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <getopt.h>
|
||||
#include <event.h>
|
||||
#include <evutil.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user