]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correct include for optional inet_ntop.h
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 21 Nov 2009 01:30:43 +0000 (14:30 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 21 Nov 2009 01:30:43 +0000 (14:30 +1300)
include/ is provided as a path by Squid.
wrap the header include to ensure an empty object when code inside is
not needed.

lib/inet_ntop.c

index 9e74795776e75e14c5fb643f38df276ea28e029c..cc0b60a525955e24f2e4a18974300c45109ac610 100644 (file)
@@ -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")