missing regex.h include in natInetAddress.cc

Olivier olivier@zipworld.com.au
Wed Jun 27 05:17:00 GMT 2001


Sorry this is not a proper bug report.

I had to change the following lines in 
libjava/java/net/natInetAddress.cc to compile today's CVS head:

changed:

#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif


to read:


#ifdef HAVE_NETDB_H
#include <regex.h>     /* added this include */
#include <netdb.h>
#endif


in order to compile successfully.


This is on Gnu/Linux x86, Debian unstable
gcc version: 2.95.4


Olivier

-- 
----------------------------------------------------------------------
Olivier Louchart-Fletcher
Email: olivier@zipworld.com.au



More information about the Java mailing list