2009-12-20 21:41:50 +01:00
|
|
|
|
2013-02-25 12:43:15 +01:00
|
|
|
#define _SYSTEM 1 /* get OK and negative error codes */
|
|
|
|
#define _NETBSD_SOURCE 1 /* tell headers to include MINIX stuff */
|
2009-12-20 21:41:50 +01:00
|
|
|
|
2013-02-25 12:43:15 +01:00
|
|
|
#define VERBOSE 0 /* display diagnostics */
|
2009-12-20 21:41:50 +01:00
|
|
|
|
2011-04-27 15:00:52 +02:00
|
|
|
#include <sys/ioc_net.h>
|
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>
|
2013-04-18 11:07:44 +02:00
|
|
|
#include <sys/ucred.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/bitmap.h>
|
2013-03-07 15:46:21 +01:00
|
|
|
#include <minix/vfsif.h>
|
2009-12-20 21:41:50 +01:00
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <signal.h>
|
|
|
|
|
|
|
|
#include "proto.h"
|