summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ipf/lib/common/ipft_ef.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/ipf/lib/common/ipft_ef.c')
-rw-r--r--usr/src/cmd/ipf/lib/common/ipft_ef.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/cmd/ipf/lib/common/ipft_ef.c b/usr/src/cmd/ipf/lib/common/ipft_ef.c
index 411dc51a91..237febcb4b 100644
--- a/usr/src/cmd/ipf/lib/common/ipft_ef.c
+++ b/usr/src/cmd/ipf/lib/common/ipft_ef.c
@@ -3,7 +3,7 @@
*
* See the IPFILTER.LICENCE file for details on licencing.
*
- * $Id: ipft_ef.c,v 1.11 2003/06/02 12:22:49 darrenr Exp $
+ * $Id: ipft_ef.c,v 1.14 2004/01/08 13:34:31 darrenr Exp $
*/
/*
@@ -23,16 +23,15 @@ etherfind -n -t
#include "ipf.h"
#include "ipt.h"
-#undef ICMP_MAXTYPE
-#include <netinet/ip_icmp.h>
+#ifndef linux
#include <netinet/ip_var.h>
-#include <netinet/udp.h>
+#endif
#include <netinet/tcpip.h>
#if !defined(lint)
static const char sccsid[] = "@(#)ipft_ef.c 1.6 2/4/96 (C)1995 Darren Reed";
-static const char rcsid[] = "@(#)$Id: ipft_ef.c,v 1.11 2003/06/02 12:22:49 darrenr Exp $";
+static const char rcsid[] = "@(#)$Id: ipft_ef.c,v 1.14 2004/01/08 13:34:31 darrenr Exp $";
#endif
static int etherf_open __P((char *));