Make it compile.. missing "opt_ipfilter.h" and missing <sys/malloc.h>

This commit is contained in:
Peter Wemm 1998-03-21 14:42:45 +00:00
parent edf346c404
commit e1ddf71b7b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34756

View File

@ -5,8 +5,10 @@
* provided that this notice is preserved and due credit is given * provided that this notice is preserved and due credit is given
* to the original author and the contributors. * to the original author and the contributors.
* *
* $Id: ip_log.c,v 1.1.1.2 1998/03/21 10:11:54 peter Exp $ * $Id: ip_log.c,v 1.2 1998/03/21 11:34:14 peter Exp $
*/ */
#include "opt_ipfilter.h"
#ifdef IPFILTER_LOG #ifdef IPFILTER_LOG
# ifndef SOLARIS # ifndef SOLARIS
# define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4))) # define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
@ -44,7 +46,7 @@
# endif # endif
# include <sys/uio.h> # include <sys/uio.h>
# if !SOLARIS # if !SOLARIS
# if (NetBSD > 199609) || (OpenBSD > 199603) # if (NetBSD > 199609) || (OpenBSD > 199603) || defined(__FreeBSD__)
# include <sys/dirent.h> # include <sys/dirent.h>
# else # else
# include <sys/dir.h> # include <sys/dir.h>
@ -73,7 +75,7 @@
# include <net/af.h> # include <net/af.h>
# endif # endif
# if __FreeBSD_version >= 300000 # if __FreeBSD_version >= 300000
# include <net/if_var.h> # include <sys/malloc.h>
# endif # endif
# include <net/route.h> # include <net/route.h>
# include <netinet/in.h> # include <netinet/in.h>