From: wessels <> Date: Thu, 14 Jul 2005 05:15:46 +0000 (+0000) Subject: fnmatch.h requires an extern "C" wrapper, at least on FreeBSD 4.x X-Git-Tag: SQUID_3_0_PRE4~702 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dcff51200195a2364da4d1af138041d93197519;p=thirdparty%2Fsquid.git fnmatch.h requires an extern "C" wrapper, at least on FreeBSD 4.x --- diff --git a/src/cachemgr.cc b/src/cachemgr.cc index f8910a09e5..d1814fff3c 100644 --- a/src/cachemgr.cc +++ b/src/cachemgr.cc @@ -1,6 +1,6 @@ /* - * $Id: cachemgr.cc,v 1.110 2005/04/30 15:30:57 serassio Exp $ + * $Id: cachemgr.cc,v 1.111 2005/07/13 23:15:46 wessels Exp $ * * DEBUG: section 0 CGI Cache Manager * AUTHOR: Duane Wessels @@ -126,7 +126,11 @@ #include #endif #if HAVE_FNMATCH_H +extern "C" +{ #include +} + #endif #include