Move sys/types.h include to posix.h for MinGW

This commit is contained in:
vitaut
2015-03-12 07:09:44 -07:00
parent 93cfe9951b
commit 752580a5c2
2 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,6 @@
#include "posix.h" #include "posix.h"
#include <limits.h> #include <limits.h>
#include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#ifndef _WIN32 #ifndef _WIN32

View File

@ -29,6 +29,7 @@
#define FMT_POSIX_H_ #define FMT_POSIX_H_
#include <errno.h> #include <errno.h>
#include <sys/types.h> // required for fcntl.h on MinGW
#include <fcntl.h> // for O_RDONLY #include <fcntl.h> // for O_RDONLY
#include <stdio.h> #include <stdio.h>