diff options
-rwxr-xr-x | lib/win32/getopt_long.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/win32/getopt_long.cxx b/lib/win32/getopt_long.cxx index c6800426..a24930aa 100755 --- a/lib/win32/getopt_long.cxx +++ b/lib/win32/getopt_long.cxx @@ -57,14 +57,17 @@ * POSSIBILITY OF SUCH DAMAGE.
*/
-#include "Box.h"
+// #include "Box.h"
#include <errno.h>
#include <stdarg.h>
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
-#ifdef _MSC_VER
+#include "getopt.h"
+
+#if defined _MSC_VER || defined __MINGW32__
#define REPLACE_GETOPT /* use this getopt as the system getopt(3) */
#endif
|