2010-08-10 22:05:51 +02:00
|
|
|
#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 */
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <sys/queue.h>
|
2012-09-17 11:09:12 +02:00
|
|
|
#include <sys/ucred.h>
|
2010-08-10 22:05:51 +02:00
|
|
|
#include <limits.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <signal.h>
|
|
|
|
#include <errno.h>
|
|
|
|
|
|
|
|
#include <minix/config.h>
|
|
|
|
#include <minix/callnr.h>
|
|
|
|
#include <minix/type.h>
|
|
|
|
#include <minix/const.h>
|
|
|
|
#include <minix/com.h>
|
|
|
|
#include <minix/syslib.h>
|
|
|
|
#include <minix/sysutil.h>
|
|
|
|
#include <minix/keymap.h>
|
|
|
|
#include <minix/bitmap.h>
|
|
|
|
#include <minix/vfsif.h>
|
|
|
|
#include <minix/endpoint.h>
|
|
|
|
#include <minix/vtreefs.h>
|
|
|
|
|
|
|
|
#include "glo.h"
|
|
|
|
#include "proto.h"
|
|
|
|
#include "inode.h"
|