From 752580a5c2257c18309573bdd7d97b14c5281227 Mon Sep 17 00:00:00 2001 From: vitaut Date: Thu, 12 Mar 2015 07:09:44 -0700 Subject: [PATCH] Move sys/types.h include to posix.h for MinGW --- posix.cc | 1 - posix.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/posix.cc b/posix.cc index 4c086af6..368bf94f 100644 --- a/posix.cc +++ b/posix.cc @@ -33,7 +33,6 @@ #include "posix.h" #include -#include #include #ifndef _WIN32 diff --git a/posix.h b/posix.h index cb0390bd..24100d9b 100644 --- a/posix.h +++ b/posix.h @@ -29,6 +29,7 @@ #define FMT_POSIX_H_ #include +#include // required for fcntl.h on MinGW #include // for O_RDONLY #include