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 10:02:36PM +0200, Gerrit P. Haase wrote:
> /usr/include/netinet/ip.h:170: parse error before "n_long"
> /usr/include/netinet/ip.h:173: parse error before "n_long"
> /usr/include/netinet/ip.h:175: parse error before '}' token
> /usr/include/netinet/ip.h:176: parse error before '}' token

Sic!  Ok, this one should help instead:
 
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 <netinet/in_systm.h>
+#include <netinet/in.h>
+
 /* Added by Wu Yongwei */
 #ifndef LITTLE_ENDIAN
 #define LITTLE_ENDIAN   1234


I've checked this in.

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]