Real unistd.h declares getopt() & friends. Approximate that in
src/lib/w32/unistd.h by including getopt.h. Simplify users
This commit is contained in:
parent
f11a29b326
commit
1d438880ff
5 changed files with 40 additions and 14 deletions
|
@ -45,13 +45,12 @@
|
|||
#include <winsock2.h>
|
||||
#undef NS_ALL
|
||||
#include <direct.h>
|
||||
#include <getopt.h>
|
||||
#include <process.h>
|
||||
#include "service.h"
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
|
||||
#include "empio.h"
|
||||
#include "empthread.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue