This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix configure glitch on Solaris


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]