[Libreoffice] quota header in file_volume.cxx unneeded?

Thomas Klausner wiz at NetBSD.org
Wed May 18 06:27:02 PDT 2011


Hi!

When building git head on NetBSD, it fails due to the inclusion of
#include <ufs/ufs/quota.h>
in ure/sal/osl/unx/file_volume.cxx. (The header isn't standalone any
longer in NetBSD-current).

Removing the header inclusion makes the problem go away and me wonder
if this header is needed on any platform.
Currently it's:
#if defined(SOLARIS)
...
#include <sys/fs/ufs_quota.h>
...
#elif defined(LINUX)
...
#include <sys/quota.h>
...
#elif defined(NETBSD) || defined(FREEBSD) || defined(OPENBSD) || defined(DRAGONFLY)
...
#include <ufs/ufs/quota.h>
...
#elif defined(MACOSX)
...
#include <ufs/ufs/quota.h>
...
#endif

Please check if you need this header on your platform.
 Thomas


More information about the LibreOffice mailing list