fixed win32 bug caused by previous commit. The <sys/stat.h> has to be included above "types.h", or else the "#define stat _stat" fails
This commit is contained in:
parent
bc8a01178d
commit
466798309c
|
@ -18,6 +18,14 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <cstdio>
|
||||
#include <climits>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cstdarg>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fstream>
|
||||
|
||||
#include "types.h"
|
||||
#include "file.h"
|
||||
|
@ -37,15 +45,6 @@
|
|||
#include "driver.h"
|
||||
#include "utils/xstring.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <climits>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cstdarg>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fstream>
|
||||
|
||||
#ifndef WIN32
|
||||
#include <zlib.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue