Some tweaks to get this to compile for the userland tools.
This commit is contained in:
parent
6858636bc2
commit
8643af65b3
@ -16,6 +16,7 @@ static const char rcsid[] = "@(#)$Id: ipmon.c,v 2.0.2.29.2.4 1997/11/28 06:14:46
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#ifndef __FreeBSD__
|
||||
#if !defined(__SVR4) && !defined(__svr4__)
|
||||
#include <strings.h>
|
||||
#include <sys/dir.h>
|
||||
@ -23,6 +24,7 @@ static const char rcsid[] = "@(#)$Id: ipmon.c,v 2.0.2.29.2.4 1997/11/28 06:14:46
|
||||
#include <sys/filio.h>
|
||||
#include <sys/byteorder.h>
|
||||
#endif
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/file.h>
|
||||
|
@ -32,6 +32,7 @@ static const char rcsid[] = "@(#)$Id: ipsend.c,v 2.0.2.19 1997/10/12 09:48:38 da
|
||||
#ifndef linux
|
||||
#include <netinet/ip_var.h>
|
||||
#endif
|
||||
#include <netinet/ip_compat.h>
|
||||
#include "ipsend.h"
|
||||
#include "ipf.h"
|
||||
|
||||
|
@ -23,8 +23,8 @@
|
||||
#include <sys/ioctl.h>
|
||||
#if BSD < 199103
|
||||
#include <sys/fcntlcom.h>
|
||||
#endif
|
||||
#include <sys/dir.h>
|
||||
#endif
|
||||
#include <net/bpf.h>
|
||||
|
||||
#include <net/if.h>
|
||||
|
@ -22,7 +22,9 @@ static const char rcsid[] = "@(#)$Id: sock.c,v 2.0.2.9.2.1 1997/11/28 03:36:01 d
|
||||
#ifndef ultrix
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
#ifndef __FreeBSD__
|
||||
#include <sys/dir.h>
|
||||
#endif
|
||||
#define _KERNEL
|
||||
#define KERNEL
|
||||
#ifdef ultrix
|
||||
|
Loading…
Reference in New Issue
Block a user