From: Amos Jeffries Date: Sat, 21 Nov 2009 01:30:43 +0000 (+1300) Subject: Correct include for optional inet_ntop.h X-Git-Tag: SQUID_3_2_0_1~545 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=48a146e7b9b9cdcef6ee0902903499ed83a67942;p=thirdparty%2Fsquid.git Correct include for optional inet_ntop.h include/ is provided as a path by Squid. wrap the header include to ensure an empty object when code inside is not needed. --- diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c index 9e74795776..cc0b60a525 100644 --- a/lib/inet_ntop.c +++ b/lib/inet_ntop.c @@ -20,9 +20,9 @@ */ #include "config.h" -#include "include/inet_ntop.h" #ifndef HAVE_INET_NTOP +#include "inet_ntop.h" /* * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")