02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
24 lines
791 B
Diff
24 lines
791 B
Diff
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 <pwd.h>
|
|
|
|
// for major()/minor():
|
|
-#if defined(__FreeBSD__) || defined(BSD)
|
|
+#if defined(__FreeBSD__) || defined(BSD) || defined(__APPLE__)
|
|
#include <sys/types.h>
|
|
#else
|
|
#include <sys/sysmacros.h>
|
|
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 <pwd.h>
|
|
|
|
// for major()/minor():
|
|
-#if defined(__FreeBSD__) || defined(BSD)
|
|
+#if defined(__FreeBSD__) || defined(BSD) || defined(__APPLE__)
|
|
#include <sys/types.h>
|
|
#else
|
|
#include <sys/sysmacros.h>
|