diff --git a/mozilla/include/allxpstr.h b/mozilla/include/allxpstr.h index 48805758e9b..528b6b0aa59 100644 --- a/mozilla/include/allxpstr.h +++ b/mozilla/include/allxpstr.h @@ -4706,7 +4706,9 @@ ResDef(XP_ERRNO_EHOSTUNREACH ,WSAEHOSTUNREACH ,"No route to host") END_STR(mcom_include_xp_error_i_strings) #else - +#ifdef XP_MAC +#include "xp_sock.h" +#endif RES_START BEGIN_STR(mcom_include_xp_error_i_strings) ResDef(XP_ERRNO_EPIPE ,EPIPE ,"Broken pipe") diff --git a/mozilla/include/allxpstr.rc b/mozilla/include/allxpstr.rc index 48805758e9b..528b6b0aa59 100644 --- a/mozilla/include/allxpstr.rc +++ b/mozilla/include/allxpstr.rc @@ -4706,7 +4706,9 @@ ResDef(XP_ERRNO_EHOSTUNREACH ,WSAEHOSTUNREACH ,"No route to host") END_STR(mcom_include_xp_error_i_strings) #else - +#ifdef XP_MAC +#include "xp_sock.h" +#endif RES_START BEGIN_STR(mcom_include_xp_error_i_strings) ResDef(XP_ERRNO_EPIPE ,EPIPE ,"Broken pipe")