From: Amos Jeffries Date: Wed, 4 Aug 2010 13:50:45 +0000 (-0600) Subject: Author: Matthias Pitzl X-Git-Tag: take1~418 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60d08fa6cd0b7923e6294f42ec8ae97ab313530b;p=thirdparty%2Fsquid.git Author: Matthias Pitzl Fix build error on OpenBSD --- diff --git a/src/ip/tools.cc b/src/ip/tools.cc index d8ddf51efe..94c1d55002 100644 --- a/src/ip/tools.cc +++ b/src/ip/tools.cc @@ -34,6 +34,9 @@ #include "Debug.h" #include "ip/tools.h" +#if HAVE_UNISTD_H +#include +#endif #if HAVE_SYS_SOCKET_H #include #endif