[patch] Fix configure glitch on Solaris

Andrew Haley aph@redhat.com
Mon Dec 7 09:26:00 GMT 2009


Eric Botcazou wrote:
> Hi,
> 
> natVMNetworkInterfacePosix.cc fails to compile under Solaris because 'struct 
> ifconf' is not defined because net/if.h is not included, the root problem 
> being that net/if.h requires sys/socket.h and the configure machinery doesn't 
> provide it.
> 
> Hence the attached patch, tested on SPARC/Solaris 9 and AMD64/Linux.  OK for 
> mainline?
> 
> 
> 2009-12-06  Eric Botcazou  <ebotcazou@adacore.com>
> 
> 	* configure.ac (net/if.h check): Include sys/socket.h if present.
> 	* configure: Regenerate.

Sure.

Thanks,
Andrew.



More information about the Java-patches mailing list