X-Git-Url: https://git.saurik.com/apple/libinfo.git/blobdiff_plain/84e6ee29846bd48cc36d74aeb5c13c52a59c5a55..d49d4c8153e0d4ad98ce995c3e488a8b52df9a8e:/dns.subproj/res_data.c diff --git a/dns.subproj/res_data.c b/dns.subproj/res_data.c index 4f19602..d193e99 100644 --- a/dns.subproj/res_data.c +++ b/dns.subproj/res_data.c @@ -29,14 +29,19 @@ #if defined(__APPLE__) /* - * _res is declared to be the same siae as struct __res_9_state + * _res is declared to be the same size as struct __res_9_state * This allows both the BIND-8 library in libSystem (this one) * and the new BIND-9 library in libresolv to share the same * structure. We ues the __res_9_state's _pad variable to store * a version number when _res have been initialized by the BIND-9 * library, and take precautions to make them work together. */ +#ifdef __LP64__ +#define RES_9_STATE_SIZE 552 +#else #define RES_9_STATE_SIZE 512 +#endif + char _res[RES_9_STATE_SIZE] = {0}; int _net_stayopen = 0; #endif