mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-33093 plugin/disks/information_schema_disks.cc doesn't compile on Solaris
Fix by Rainer Orth
This commit is contained in:
@@ -19,10 +19,14 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#if defined(HAVE_GETMNTENT)
|
#if defined(HAVE_GETMNTENT)
|
||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
|
#elif defined(HAVE_SYS_MNTENT)
|
||||||
|
#include <sys/mntent.h>
|
||||||
#elif !defined(HAVE_GETMNTINFO_TAKES_statvfs)
|
#elif !defined(HAVE_GETMNTINFO_TAKES_statvfs)
|
||||||
/* getmntinfo (the not NetBSD variants) */
|
/* getmntinfo (the not NetBSD variants) */
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
#if defined(HAVE_SYS_UCRED)
|
||||||
#include <sys/ucred.h>
|
#include <sys/ucred.h>
|
||||||
|
#endif
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_GETMNTENT_IN_SYS_MNTAB)
|
#if defined(HAVE_GETMNTENT_IN_SYS_MNTAB)
|
||||||
|
Reference in New Issue
Block a user