Make this compile on 32-bit architectures again:

- Pull in includes to get appropriate prototypes.
This commit is contained in:
thorpej 1997-05-27 01:24:31 +00:00
parent faeb45fcca
commit 67a6c44c15

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip_state.c,v 1.4 1997/05/25 12:40:19 darrenr Exp $ */
/* $NetBSD: ip_state.c,v 1.5 1997/05/27 01:24:31 thorpej Exp $ */
/*
* (C)opyright 1995 by Darren Reed.
@ -9,7 +9,7 @@
*/
#if !defined(lint) && defined(LIBC_SCCS)
static char sccsid[] = "@(#)ip_state.c 1.8 6/5/96 (C) 1993-1995 Darren Reed";
static char rcsid[] = "$Id: ip_state.c,v 1.4 1997/05/25 12:40:19 darrenr Exp $";
static char rcsid[] = "$Id: ip_state.c,v 1.5 1997/05/27 01:24:31 thorpej Exp $";
#endif
#if !defined(_KERNEL) && !defined(KERNEL)
@ -60,6 +60,7 @@ static char rcsid[] = "$Id: ip_state.c,v 1.4 1997/05/25 12:40:19 darrenr Exp $";
#include "netinet/ip_compat.h"
#include "netinet/ip_fil.h"
#include "netinet/ip_nat.h"
#include "netinet/ip_frag.h"
#include "netinet/ip_state.h"
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))