1: /* This is the master header for the kernel.  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 */
   7: 
   8: /* The following are so basic, all the *.c files get them automatically. */
   9: #include <minix/config.h> /* MUST be first */
  10: #include <ansi.h>         /* MUST be second */
  11: #include <sys/types.h>
  12: #include <minix/const.h>
  13: #include <minix/type.h>
  14: #include <minix/syslib.h>
  15: 
  16: #include <string.h>
  17: #include <limits.h>
  18: #include <errno.h>
  19: #include <stddef.h>
  20: 
  21: #if (CHIP == INTEL)
  22: #include <ibm/portio.h>
  23: #endif
  24: 
  25: #include "const.h"
  26: #include "type.h"
  27: #include "proto.h"
  28: #include "glo.h"