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>
--- a/jdk/src/solaris/native/java/net/Inet4AddressImpl.c Fri Jul 10 17:27:13 2009 +0800
+++ b/jdk/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/jdk/src/solaris/native/java/net/Inet6AddressImpl.c Fri Jul 10 17:27:13 2009 +0800
+++ b/jdk/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>