2009-12-20 21:41:50 +01:00
|
|
|
|
|
|
|
#define _SYSTEM 1 /* get OK and negative error codes */
|
|
|
|
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
|
|
|
|
|
|
|
#define VERBOSE 0 /* display diagnostics */
|
|
|
|
|
2011-04-27 15:00:52 +02:00
|
|
|
#ifdef __NBSD_LIBC
|
|
|
|
#include <sys/ioc_net.h>
|
|
|
|
#else
|
2010-07-15 15:39:57 +02:00
|
|
|
#include <net/ioctl.h>
|
2011-04-27 15:00:52 +02:00
|
|
|
#endif
|
2010-07-15 15:39:57 +02:00
|
|
|
|
2009-12-20 21:41:50 +01:00
|
|
|
#include <sys/types.h>
|
2010-08-30 15:46:44 +02:00
|
|
|
#include <sys/param.h>
|
2010-07-15 15:39:57 +02:00
|
|
|
#include <sys/select.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#include <sys/stat.h>
|
2009-12-20 21:41:50 +01:00
|
|
|
#include <limits.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <signal.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
#include <minix/callnr.h>
|
|
|
|
#include <minix/config.h>
|
2010-07-15 15:39:57 +02:00
|
|
|
#include <minix/dmap.h>
|
2009-12-20 21:41:50 +01:00
|
|
|
#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 <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <signal.h>
|
|
|
|
|
|
|
|
#include "proto.h"
|