]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Matthias Pitzl <silamael@coronamundi.de>
authorAmos Jeffries <amosjeffries@squid-cache.org>
Wed, 4 Aug 2010 13:50:45 +0000 (07:50 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Wed, 4 Aug 2010 13:50:45 +0000 (07:50 -0600)
Fix build error on OpenBSD

src/ip/tools.cc

index d8ddf51efea1e648c4bbfad5e81079c694280b2d..94c1d55002ff3716e72d99d795eaebe5d7516c75 100644 (file)
@@ -34,6 +34,9 @@
 #include "Debug.h"
 #include "ip/tools.h"
 
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 #if HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif