This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
missing regex.h include in natInetAddress.cc
- To: java at gcc dot gnu dot org
- Subject: missing regex.h include in natInetAddress.cc
- From: Olivier <olivier at zipworld dot com dot au>
- Date: Wed, 27 Jun 2001 22:14:51 +1000
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