Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <000701c1dab3$34fe3280$0610a8c0@wyw> From: "Wu Yongwei" To: Subject: ip.h & tcp.h Date: Wed, 3 Apr 2002 09:59:34 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 I noticed that these two header files in /usr/include/netinet is really missing. I have been using the ones from FreeBSD and that fit very well. I just need to add the following lines to the beginning of ip.h: /* Added by Wu Yongwei */ #ifndef LITTLE_ENDIAN #define LITTLE_ENDIAN 1234 #define BIG_ENDIAN 4321 #endif #ifndef BYTE_ORDER #define BYTE_ORDER LITTLE_ENDIAN #endif Could Cygwin just use the modified FreeBSD files, or are there any other considerations? I don't think there are any licence issues -- it only asks for an acknowledgement in ads. (BTW, udp.h is good, too.) Best regards, Wu Yongwei -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/