2010-08-02 13:44:45 +02:00
|
|
|
/* This is the master header for fs. It includes some other files
|
|
|
|
* and defines the principal constants.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef EXT2_FS_H
|
|
|
|
#define EXT2_FS_H
|
|
|
|
|
|
|
|
#define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
|
|
|
|
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
|
|
|
#define _SYSTEM 1 /* tell headers that this is the kernel */
|
|
|
|
|
|
|
|
#define VERBOSE 0 /* show messages during initialization? */
|
|
|
|
|
|
|
|
/* The following are so basic, all the *.c files get them automatically. */
|
|
|
|
#include <minix/config.h> /* MUST be first */
|
2011-01-28 12:35:02 +01:00
|
|
|
#include <minix/ansi.h> /* MUST be second */
|
2010-08-02 13:44:45 +02:00
|
|
|
#include <sys/types.h>
|
|
|
|
#include <minix/const.h>
|
|
|
|
#include <minix/type.h>
|
|
|
|
#include <minix/dmap.h>
|
|
|
|
|
|
|
|
#include <limits.h>
|
|
|
|
#include <errno.h>
|
|
|
|
|
|
|
|
#include <minix/syslib.h>
|
|
|
|
#include <minix/sysutil.h>
|
|
|
|
|
|
|
|
#include "const.h"
|
|
|
|
#include "type.h"
|
|
|
|
#include "proto.h"
|
|
|
|
#include "glo.h"
|
|
|
|
|
|
|
|
#define ext2_debug printf
|
|
|
|
|
|
|
|
#endif /* EXT2_FS_H */
|