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:
Ron Koenderink 2007-08-14 00:15:21 +00:00
parent f11a29b326
commit 1d438880ff
5 changed files with 40 additions and 14 deletions

View file

@ -40,11 +40,8 @@
#include <errno.h>
#if defined(_WIN32)
#include <direct.h>
#include <getopt.h>
#include <io.h>
#else
#include <unistd.h>
#endif
#include <unistd.h>
#include "file.h"
#include "game.h"