#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