--- core-b14583ba37a6d7ce398ccd3cf339f954785b03d8/include/comphelper/errcode.hxx.~1~ 2023-10-24 23:34:49.856823014 -0400 +++ core-b14583ba37a6d7ce398ccd3cf339f954785b03d8/include/comphelper/errcode.hxx 2023-10-24 23:38:05.004249806 -0400 @@ -24,6 +24,10 @@ #include #include +#if defined(__sun) +#include +#endif + #if defined(DBG_UTIL) #if __has_include() #include --- core-589fb36b663cbd68afc26419629a4a95bd593a89/sc/source/core/data/dptabsrc.cxx.old 2024-04-18 08:59:18.767792648 -0400 +++ core-589fb36b663cbd68afc26419629a4a95bd593a89/sc/source/core/data/dptabsrc.cxx 2024-04-18 09:00:31.796234893 -0400 @@ -22,6 +22,10 @@ #include #include +#if defined(__sun) +#include +#endif + #include #include #include --- libreoffice-24.8.0.0.beta1/sax/source/tools/converter.cxx.old 2024-06-13 16:39:44.900262037 -0400 +++ libreoffice-24.8.0.0.beta1/sax/source/tools/converter.cxx 2024-06-13 16:43:53.897697586 -0400 @@ -39,6 +39,10 @@ #include #include +#ifdef __sun +#include +#endif + using namespace com::sun::star; using namespace com::sun::star::uno; using namespace com::sun::star::util;