diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-07-23 23:51:34 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-07-23 23:51:34 +0000 |
| commit | 949b873dc8164a9cbfdb48d687263da95b4bfc66 (patch) | |
| tree | cb6e080b1f9fa3c92a123e4e094363ea9b01bee4 /Source/Core/Common | |
| parent | 2d06b4114b11e637a735e919e622c46b261766fd (diff) | |
Further *BSD portability.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5958 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <io.h> #include <direct.h> // getcwd #else +#include <sys/param.h> #include <sys/types.h> #include <dirent.h> #include <errno.h> @@ -38,7 +39,6 @@ #include <CoreFoundation/CFString.h> #include <CoreFoundation/CFURL.h> #include <CoreFoundation/CFBundle.h> -#include <sys/param.h> #endif #include <fstream> @@ -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 |
