Rudiments: /home/dmuse/temp/rudiments/include/rudiments/private/filesystemincludes.h Source File

Rudiments

filesystemincludes.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #include <rudiments/private/dll.h>
5 #include <rudiments/private/inttypes.h>
6
7
8 #if defined(RUDIMENTS_HAVE_LINUX_STATFS) || \
9 defined(RUDIMENTS_HAVE_LINUX_LIBC4_STATFS) || \
10 defined(RUDIMENTS_HAVE_CYGWIN_STATFS)
11 #include <sys/types.h>
12 #include <sys/vfs.h>
13 #endif
14 #if defined(RUDIMENTS_HAVE_FREEBSD_STATFS) || \
15 defined(RUDIMENTS_HAVE_NETBSD_STATFS) || \
16 defined(RUDIMENTS_HAVE_OPENBSD_STATFS) || \
17 defined(RUDIMENTS_HAVE_DARWIN_STATFS)
18 #include <sys/param.h>
19 #include <sys/mount.h>
20 #endif
21 #if defined(RUDIMENTS_HAVE_STATVFS) || \
22 defined(RUDIMENTS_HAVE_MINIX_HAIKU_STATVFS) || \
23 defined(RUDIMENTS_HAVE_NETBSD_STATVFS)
24 #include <sys/types.h>
25 #include <sys/statvfs.h>
26 #endif
27 #if defined(RUDIMENTS_HAVE_ULTRIX_STATFS)
28 #include <sys/types.h>
29 #endif
30
31 class filesystemprivate;