diff options
author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2022-07-16 00:00:00 +0000 |
---|---|---|
committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2023-12-17 14:35:38 +0500 |
commit | 93be7d4abfd4233228f58ee1fbbcd76d91be66a4 (patch) | |
tree | 9b11631a70ca7150321838d9d6bd473e52d6684d /CPP/7zip/Common/FileStreams.cpp | |
parent | a3e1d227377188734b82f023f96f8e25dc40f3e6 (diff) | |
download | 7zip-93be7d4abfd4233228f58ee1fbbcd76d91be66a4.tar.gz 7zip-93be7d4abfd4233228f58ee1fbbcd76d91be66a4.tar.bz2 7zip-93be7d4abfd4233228f58ee1fbbcd76d91be66a4.zip |
22.0122.01
Diffstat (limited to 'CPP/7zip/Common/FileStreams.cpp')
-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 | ||