changeset 1459:880896883a47

6562614: Compiler warnings for gettimeofday in Inet4/Inet6AddressImpl.c Summary: Add missing header to remove compiler warnings. Reviewed-by: martin Contributed-by: Matthew Flaschen <matthew.flaschen@gatech.edu>
author andrew
date Sat, 11 Jul 2009 16:43:08 +0100
parents 6f26e2e5f4f3
children d0ce095004b2 537d8716d8cd
files src/solaris/native/java/net/Inet4AddressImpl.c src/solaris/native/java/net/Inet6AddressImpl.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/native/java/net/Inet4AddressImpl.c	Fri Jul 10 17:27:13 2009 +0800
+++ b/src/solaris/native/java/net/Inet4AddressImpl.c	Sat Jul 11 16:43:08 2009 +0100
@@ -24,6 +24,7 @@
  */
 
 #include <errno.h>
+#include <sys/time.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in_systm.h>
--- a/src/solaris/native/java/net/Inet6AddressImpl.c	Fri Jul 10 17:27:13 2009 +0800
+++ b/src/solaris/native/java/net/Inet6AddressImpl.c	Sat Jul 11 16:43:08 2009 +0100
@@ -24,6 +24,7 @@
  */
 
 #include <errno.h>
+#include <sys/time.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>