This is the mail archive of the java@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]

missing regex.h include in natInetAddress.cc


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


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