#ifndef _BEPORT_H
#define _BEPORT_H
#include <netdebug.h>
#include <signal.h>
#include <stdlib.h>
#include <getopt.h>
#undef SIGTSTP

#define INADDR_NONE 0xffffffff
#define SIOCATMARK 1

#include <socket.h>
#include <unistd.h>

#define FIONBIO 0xfadbaced
#define read check_read
#define write check_write
#define close check_close
#define select check_select
#define ioctl check_ioctl
#define open check_open
#define dup2 check_dup2
#define socket check_socket
#define bind check_bind
#define connect check_connect
#define send check_send
#define recv check_recv

#define vfork fork
#define isascii(c) (!(((unsigned char)c) & 0x80))
extern int forked;
#endif /* _BEPORT_H */

