sal/osl/unx/uunxapi.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit e78e9550a74fa194b88dfaf0ba5b3cea2945c47b
Author: Christian Lohmaier <[email protected]>
AuthorDate: Mon Feb 2 15:14:31 2026 +0100
Commit: Christian Lohmaier <[email protected]>
CommitDate: Tue Feb 3 08:35:51 2026 +0100
uunxapi.cxx: add pre/postmac headers for sandboxed build
side-effect of dec1441f716c7631622b9b3e32fdbc666502c006 that removed
unnecessary Carbon.h headers and along with that the premac one that
would have been applied also to sal/osl/unx/uunxapi.cxx
Change-Id: I058e074d3ba7fb42d1ca70e497c6219820597119
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198551
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <[email protected]>
(cherry picked from commit ab214fc9f3cd0c69756dbbdf181b3da93069d7e2)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198558
diff --git a/sal/osl/unx/uunxapi.cxx b/sal/osl/unx/uunxapi.cxx
index 37db3c987315..6af6fbb61a4d 100644
--- a/sal/osl/unx/uunxapi.cxx
+++ b/sal/osl/unx/uunxapi.cxx
@@ -47,7 +47,10 @@ OString osl::OUStringToOString(std::u16string_view s)
#if HAVE_FEATURE_MACOSX_SANDBOX
+#include <premac.h>
#include <Foundation/Foundation.h>
+#include <postmac.h>
+
#include <Security/Security.h>
#include <mach-o/dyld.h>