This is to fix bug #30377. FreeBSD needs this. I hope this patch
will not do harm to other platforms.
ChangeLog:
2006-09-20 Ito Kazumitsu <[EMAIL PROTECTED]>
Fixes bug #30377
* native/jni/native-lib/cpnet.h: Add some include files.
cvs diff: Diffing classpath/native/jni/native-lib
Index: classpath/native/jni/native-lib/cpnet.h
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/native-lib/cpnet.h,v
retrieving revision 1.3
diff -u -r1.3 cpnet.h
--- classpath/native/jni/native-lib/cpnet.h 8 Sep 2006 08:59:57 -0000
1.3
+++ classpath/native/jni/native-lib/cpnet.h 6 Jan 2007 01:02:21 -0000
@@ -42,7 +42,9 @@
#include <jcl.h>
#include <string.h>
+#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <netinet/ip.h>