OpenJDK / jdk / jdk
changeset 3226:b142b3d06bf5
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 | 023603ebeb1f |
children | a3484e08f2bc c6a8be477465 |
files | jdk/src/solaris/native/java/net/Inet4AddressImpl.c jdk/src/solaris/native/java/net/Inet6AddressImpl.c |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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>