From 9a93680d2b2c416aa10434fc5a3d6c67b729a462 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Sat, 23 Mar 2013 22:02:56 +1100 Subject: [PATCH] include/share/compat.h : Simplify. --- include/share/compat.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/include/share/compat.h b/include/share/compat.h index ee4c3e50..64139a2e 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -94,27 +94,25 @@ #endif #if defined _MSC_VER || defined __MINGW32__ -#include /* for _setmode() */ +#include /* for _setmode(), chmod() */ #include /* for _O_BINARY */ #endif #if defined __CYGWIN__ || defined __EMX__ -#include /* for setmode(), O_BINARY */ +#include /* for setmode(), chmod() */ #include /* for _O_BINARY */ +#else +#include /* for chown(), unlink() */ #endif - #if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__ #if defined __BORLANDC__ #include /* for utime() */ #else #include /* for utime() */ #endif -#include /* for chmod() */ -#include /* for off_t */ #else #include /* some flavors of BSD (like OS X) require this to get time_t */ #include /* for utime() */ -#include /* for chown(), unlink() */ #endif #if defined _MSC_VER