From cbdc8ca82011df4a524baa08d28f0ffb4ae40cb6 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 21 Jul 2015 12:04:07 -0600 Subject: tighten up compat include paths, fix glibc compatibility --- include/compat/sys/stat.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/compat/sys/stat.h') diff --git a/include/compat/sys/stat.h b/include/compat/sys/stat.h index 55135d8..9d48251 100644 --- a/include/compat/sys/stat.h +++ b/include/compat/sys/stat.h @@ -6,7 +6,10 @@ #ifndef LIBCRYPTOCOMPAT_SYS_STAT_H #define LIBCRYPTOCOMPAT_SYS_STAT_H -#ifdef _MSC_VER +#ifndef _MSC_VER +#include_next +#else + #include #include <../include/sys/stat.h> @@ -88,8 +91,6 @@ #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) -#else -#include_next #endif #endif -- cgit v1.2.3-55-g6feb