[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/30377] New: native/jni/native-lib/cpnet.h wants some file
From: |
kaz at maczuka dot gcd dot org |
Subject: |
[Bug classpath/30377] New: native/jni/native-lib/cpnet.h wants some files to be included |
Date: |
4 Jan 2007 23:41:49 -0000 |
Compiling native/jni/native-lib/cpnet.c on FreeBSD 5.4-RELEASE gives the
following messages:
In file included from cpnet.h:47,
from cpnet.c:54:
/usr/include/netinet/ip.h:160: error: syntax error before
"n_long"
/usr/include/netinet/ip.h:163: error: syntax error before
"n_long"
This issue could be solved by including the following files into cpnet.h:
@@ -43,7 +43,9 @@
#include <string.h>
#include <sys/socket.h>
+#include <sys/types.h>
#include <netinet/in.h>
+#include <netinet/in_systm.h>
#include <netinet/ip.h>
typedef struct {
--
Summary: native/jni/native-lib/cpnet.h wants some files to be
included
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kaz at maczuka dot gcd dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30377
- [Bug classpath/30377] New: native/jni/native-lib/cpnet.h wants some files to be included,
kaz at maczuka dot gcd dot org <=