From 949b873dc8164a9cbfdb48d687263da95b4bfc66 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Fri, 23 Jul 2010 23:51:34 +0000 Subject: Further *BSD portability. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5958 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/FileUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/Common/Src/FileUtil.cpp') diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index 1080ae3f08..7722d4aab4 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -28,6 +28,7 @@ #include #include // getcwd #else +#include #include #include #include @@ -38,7 +39,6 @@ #include #include #include -#include #endif #include @@ -48,7 +48,7 @@ #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) #endif -#if defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__ +#ifdef BSD4_4 #define stat64 stat // XXX #endif -- cgit v1.2.3