42 lines
866 B
C
42 lines
866 B
C
|
|
||
|
#define _SYSTEM 1 /* get OK and negative error codes */
|
||
|
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
||
|
|
||
|
#define VERBOSE 0 /* display diagnostics */
|
||
|
|
||
|
#ifdef __NBSD_LIBC
|
||
|
#include <sys/ioc_net.h>
|
||
|
#else
|
||
|
#include <net/ioctl.h>
|
||
|
#endif
|
||
|
|
||
|
#include <minix/ansi.h>
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/param.h>
|
||
|
#include <sys/select.h>
|
||
|
#include <sys/socket.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <limits.h>
|
||
|
#include <errno.h>
|
||
|
#include <signal.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
#include <minix/callnr.h>
|
||
|
#include <minix/config.h>
|
||
|
#include <minix/dmap.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 <stdlib.h>
|
||
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
#include <unistd.h>
|
||
|
#include <signal.h>
|
||
|
|
||
|
#include "proto.h"
|