]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fnmatch.h requires an extern "C" wrapper, at least on FreeBSD 4.x
authorwessels <>
Thu, 14 Jul 2005 05:15:46 +0000 (05:15 +0000)
committerwessels <>
Thu, 14 Jul 2005 05:15:46 +0000 (05:15 +0000)
src/cachemgr.cc

index f8910a09e5e90cff59895a77e902eb8c1241d184..d1814fff3c16c78f4e778fbf4f622a0869163d5f 100644 (file)
@@ -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
 #include <sys/select.h>
 #endif
 #if HAVE_FNMATCH_H
+extern "C"
+{
 #include <fnmatch.h>
+}
+
 #endif
 
 #include <assert.h>