This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: netinet/ip.h in snapshot broken?


On Thu, Apr 24, 2003 at 07:58:44AM +0200, Gerrit P. Haase wrote:
> configure:7539: checking netinet/ip.h usability
> configure:7552: gcc -c -O2 -Wall  conftest.c >&5
> In file included from configure:7613:
> /usr/include/netinet/ip.h:82: field `ip_src' has incomplete type
> /usr/include/netinet/ip.h:82: field `ip_dst' has incomplete type
> /usr/include/netinet/ip.h:167: parse error before "n_long"
> /usr/include/netinet/ip.h:169: field `ipt_addr' has incomplete type
> /usr/include/netinet/ip.h:170: parse error before "n_long"
> /usr/include/netinet/ip.h:172: parse error before '}' token
> /usr/include/netinet/ip.h:173: parse error before '}' token

Please apply the following patch to /usr/include/netinet/ip.h and try
the configure again:

Index: include/netinet/ip.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/netinet/ip.h,v
retrieving revision 1.3
diff -p -u -r1.3 ip.h
--- include/netinet/ip.h	29 May 2002 07:38:54 -0000	1.3
+++ include/netinet/ip.h	24 Apr 2003 08:20:55 -0000
@@ -37,6 +37,9 @@
 #ifndef _NETINET_IP_H
 #define _NETINET_IP_H
 
+#include <sys/types.h>
+#include <netinet/in.h>
+
 /* Added by Wu Yongwei */
 #ifndef LITTLE_ENDIAN
 #define LITTLE_ENDIAN   1234


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin at cygwin dot com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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