Some tweaks to get this to compile for the userland tools.

This commit is contained in:
peter 1998-03-21 13:39:11 +00:00
parent 6858636bc2
commit 8643af65b3
4 changed files with 6 additions and 1 deletions

View File

@ -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>

View File

@ -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"

View File

@ -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>

View File

@ -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