Fix for compilation under Win/MinGW

This commit is contained in:
Paolo Bosetti
2013-12-02 12:14:04 +01:00
parent 87d878292d
commit 5a59fd3a5c
4 changed files with 26 additions and 4 deletions
+5 -1
View File
@@ -16,7 +16,11 @@ extern "C" {
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#if !defined(_WIN32) || !defined(__MINGW32__)
#include <sys/wait.h>
#else
#include <winsock.h>
#endif
#include <stdio.h>
#include <string.h>
#include <limits.h>