From ff3e2f74c73b1575765ffb8b51a6ff8b076ca828 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 23 Nov 2014 22:04:37 +0000 Subject: Include getopt.h instead of box_getopt.h. Fixes compile errors on Windows. Thanks to Kai Liebenau! --- lib/win32/emu.h | 2 +- lib/win32/getopt_long.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/win32') diff --git a/lib/win32/emu.h b/lib/win32/emu.h index bf408050..cd4e2f4e 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -183,7 +183,7 @@ inline int geteuid(void) // MinGW provides a getopt implementation #ifndef __MINGW32__ -#include "getopt.h" +#include "box_getopt.h" #endif // !__MINGW32__ #define timespec timeval diff --git a/lib/win32/getopt_long.cpp b/lib/win32/getopt_long.cpp index 941f23c1..af2833a1 100755 --- a/lib/win32/getopt_long.cpp +++ b/lib/win32/getopt_long.cpp @@ -66,7 +66,7 @@ #include #include -#include "getopt.h" +#include "box_getopt.h" #ifdef REPLACE_GETOPT // until end of file -- cgit v1.2.3