add swifi to the build/install.
[minix.git] / servers / vfs / fs.h
blob9bd2058ace4751c704422d47e4aefeceaa74f97b
1 /* This is the master header for fs. It includes some other files
2 * and defines the principal constants.
3 */
4 #define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
5 #define _MINIX 1 /* tell headers to include MINIX stuff */
6 #define _SYSTEM 1 /* tell headers that this is the kernel */
8 #define DO_SANITYCHECKS 0
10 #if DO_SANITYCHECKS
11 #define SANITYCHECK do { \
12 if(!check_vrefs() || !check_pipe()) { \
13 printf("VFS:%s:%d: call_nr %d who_e %d\n", \
14 __FILE__, __LINE__, call_nr, who_e); \
15 panic(__FILE__, "sanity check failed", NO_NUM); \
16 } \
17 } while(0)
18 #else
19 #define SANITYCHECK
20 #endif
22 /* The following are so basic, all the *.c files get them automatically. */
23 #include <minix/config.h> /* MUST be first */
24 #include <ansi.h> /* MUST be second */
25 #include <sys/types.h>
26 #include <minix/const.h>
27 #include <minix/type.h>
28 #include <minix/dmap.h>
30 #include <limits.h>
31 #include <errno.h>
33 #include <minix/syslib.h>
34 #include <minix/sysutil.h>
36 #include "const.h"
37 #include "dmap.h"
38 #include "proto.h"
39 #include "glo.h"