Index: mozilla/nsprpub/pr/src/pthreads/ptio.c |
=================================================================== |
--- mozilla/nsprpub/pr/src/pthreads/ptio.c (revision 179237) |
+++ mozilla/nsprpub/pr/src/pthreads/ptio.c (working copy) |
@@ -1150,7 +1150,7 @@ |
osfd = socket(AF_INET6, SOCK_STREAM, 0); |
if (osfd != -1) { |
int on; |
- int optlen = sizeof(on); |
+ socklen_t optlen = sizeof(on); |
if (getsockopt(osfd, IPPROTO_IPV6, IPV6_V6ONLY, |
&on, &optlen) == 0) { |
_pr_ipv6_v6only_on_by_default = on; |
@@ -4850,7 +4850,7 @@ |
#include <sys/types.h> |
#include <sys/time.h> |
-#if !defined(SUNOS4) && !defined(HPUX) \ |
+#if !defined(HPUX) \ |
&& !defined(LINUX) && !defined(__GNU__) && !defined(__GLIBC__) |
#include <sys/select.h> |
#endif |