Apache OpenOffice (AOO) Bugzilla – Attachment #27508: Hack in file.cxx no longer needed with osxlocale patch for issue #25416
#include <sys/mount.h>
#define HAVE_STATFS_H
#define osl_getThreadTextEncoding() RTL_TEXTENCODING_UTF8
// add MACOSX Time Value
#define TimeValue CFTimeValue