From 6fc1da74fdb56eb2f42bca88210754a033835087 Mon Sep 17 00:00:00 2001 From: hno <> Date: Sat, 1 Mar 2003 18:04:45 +0000 Subject: [PATCH] Bug #199: sync redeclarations when compiling support for ARP acls --- src/ACLARP.cc | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/src/ACLARP.cc b/src/ACLARP.cc index fa00955749..3327c55272 100644 --- a/src/ACLARP.cc +++ b/src/ACLARP.cc @@ -1,5 +1,5 @@ /* - * $Id: ACLARP.cc,v 1.1 2003/02/25 12:16:55 robertc Exp $ + * $Id: ACLARP.cc,v 1.2 2003/03/01 11:04:45 hno Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -34,6 +34,25 @@ * Copyright (c) 2003, Robert Collins */ +#include "config.h" + +#ifdef _SQUID_SOLARIS_ +#include +#else +#include +#endif +#ifdef _SQUID_LINUX_ +#include +#include +#else +#include +#endif +#include +#include +#if HAVE_NETINET_IF_ETHER_H +#include +#endif + #include "squid.h" #include "ACLARP.h" @@ -134,23 +153,6 @@ ACLARP::valid () const * Solaris code by R. Gancarz */ -#ifdef _SQUID_SOLARIS_ -#include -#else -#include -#endif -#ifdef _SQUID_LINUX_ -#include -#include -#else -#include -#endif -#include -#include -#if HAVE_NETINET_IF_ETHER_H -#include -#endif - /* * Decode an ascii representation (asc) of an ethernet adress, and place * it in eth[6]. -- 2.47.3