diff -Naur CPP/7zip/Common/FileStreams.cpp CPP/7zip/Common/FileStreams.cpp --- CPP/7zip/Common/FileStreams.cpp +++ CPP/7zip/Common/FileStreams.cpp @@ -12,7 +12,7 @@ #include // for major()/minor(): -#if defined(__FreeBSD__) || defined(BSD) +#if defined(__FreeBSD__) || defined(BSD) || defined(__APPLE__) #include #else #include diff -Naur CPP/7zip/UI/Common/UpdateCallback.cpp CPP/7zip/UI/Common/UpdateCallback.cpp --- CPP/7zip/UI/Common/UpdateCallback.cpp +++ CPP/7zip/UI/Common/UpdateCallback.cpp @@ -9,7 +9,7 @@ // #include // for major()/minor(): -#if defined(__FreeBSD__) || defined(BSD) +#if defined(__FreeBSD__) || defined(BSD) || defined(__APPLE__) #include #else #include