MDEV-33093 plugin/disks/information_schema_disks.cc doesn't compile on Solaris
Fix by Rainer Orth
This commit is contained in:
parent
8172d07785
commit
f7573e7a83
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user