diff options
Diffstat (limited to '')
-rw-r--r-- | CPP/7zip/Common/FileStreams.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CPP/7zip/Common/FileStreams.cpp b/CPP/7zip/Common/FileStreams.cpp index 6862a9b..0349e90 100644 --- a/CPP/7zip/Common/FileStreams.cpp +++ b/CPP/7zip/Common/FileStreams.cpp | |||
@@ -11,9 +11,12 @@ | |||
11 | #include <grp.h> | 11 | #include <grp.h> |
12 | #include <pwd.h> | 12 | #include <pwd.h> |
13 | 13 | ||
14 | // for major minor | 14 | // for major()/minor(): |
15 | // BSD: <sys/types.h> | 15 | #if defined(__FreeBSD__) || defined(BSD) |
16 | #include <sys/types.h> | ||
17 | #else | ||
16 | #include <sys/sysmacros.h> | 18 | #include <sys/sysmacros.h> |
19 | #endif | ||
17 | 20 | ||
18 | #endif | 21 | #endif |
19 | 22 | ||