From: hno <> Date: Sun, 14 Jan 2001 21:18:18 +0000 (+0000) Subject: Only include sys/mount.h if found by configure X-Git-Tag: SQUID_3_0_PRE1~1641 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c2716d0efa2bd9c8bbee734cf4f4cecd457cc3f1;p=thirdparty%2Fsquid.git Only include sys/mount.h if found by configure (and don't doubly include sys/param.h) --- diff --git a/src/squid.h b/src/squid.h index 44e06481bf..8ad9b41011 100644 --- a/src/squid.h +++ b/src/squid.h @@ -1,6 +1,6 @@ /* - * $Id: squid.h,v 1.210 2001/01/12 00:37:21 wessels Exp $ + * $Id: squid.h,v 1.211 2001/01/14 14:18:18 hno Exp $ * * AUTHOR: Duane Wessels * @@ -216,6 +216,10 @@ #include #endif +#if HAVE_SYS_MOUNT_H +#include +#endif + /* * We require poll.h before using poll(). If the symbols used * by poll() are defined elsewhere, we will need to make this @@ -436,9 +440,6 @@ struct rusage { #define SQUID_NONBLOCK O_NDELAY #endif -#include -#include - /* * I'm sick of having to keep doing this .. */