--------------------- PatchSet 5783 Date: 2007/09/12 08:10:54 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: Use _res_init() directly as a backup to res_init() Members: include/config.h:1.7.4.17->1.7.4.18 Index: squid3/include/config.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/include/config.h,v retrieving revision 1.7.4.17 retrieving revision 1.7.4.18 diff -u -r1.7.4.17 -r1.7.4.18 --- squid3/include/config.h 4 Aug 2007 12:13:08 -0000 1.7.4.17 +++ squid3/include/config.h 12 Sep 2007 08:10:54 -0000 1.7.4.18 @@ -1,5 +1,5 @@ /* - * $Id: config.h,v 1.7.4.17 2007/08/04 12:13:08 amosjeffries Exp $ + * $Id: config.h,v 1.7.4.18 2007/09/12 08:10:54 amosjeffries Exp $ * * AUTHOR: Duane Wessels * @@ -344,6 +344,14 @@ #undef HAVE_MALLOC_H #endif +/* + * res_init() is a macro re-definition of __res_init on Debian et al. + */ +#if !defined(HAVE_RES_INIT) && defined(HAVE___RES_INIT) && !defined(res_init) +#define res_init __res_init +#define HAVE_RES_INIT HAVE___RES_INIT +#endif + #if !defined(CACHEMGR_HOSTNAME) #define CACHEMGR_HOSTNAME "" #else