]> sourceware.org Git - newlib-cygwin.git/commitdiff
* include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 18 Jan 2007 10:25:40 +0000 (10:25 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 18 Jan 2007 10:25:40 +0000 (10:25 +0000)
* fhandler_procnet.cc: Declare htonl and ntohs here.

winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_procnet.cc
winsup/cygwin/include/cygwin/in6.h

index 6c73c0ccf910fea38737deb4b512488c8425635c..915f7cb87d26b34cc0faa1fe22ab51cb77dbf1de 100644 (file)
@@ -1,3 +1,8 @@
+2007-01-17  Corinna Vinschen  <corinna@vinschen.de>
+
+       * include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.
+       * fhandler_procnet.cc: Declare htonl and ntohs here.
+
 2007-01-17  Corinna Vinschen  <corinna@vinschen.de>
 
        * Makefile.in (DLL_OFILES): Add fhandler_procnet.o.
index e5026ef88220df4c0e888c5be65411f27711603b..d5cdde881e14786eadb30adba73883a142e41aaf 100644 (file)
@@ -34,6 +34,9 @@ details. */
 #define GAA_FLAG_INCLUDE_ALL_INTERFACES 0x0100
 #endif
 
+extern "C" unsigned long int htonl (unsigned long int);
+extern "C" unsigned short ntohs (unsigned short);
+
 static const int PROCNET_IFINET6 = 2;
 
 static const char * const process_listing[] =
index febd8dc7381aa82b716f9b4dc36ec95d710854c6..bdb812c999c752ea97bd0e51df115847b0200136 100644 (file)
@@ -13,8 +13,6 @@ details. */
 #ifndef _CYGWIN_IN6_H
 #define _CYGWIN_IN6_H
 
-#include <asm/byteorder.h>
-
 #define INET6_ADDRSTRLEN 46
 
 #define IN6_ARE_ADDR_EQUAL(a, b) \
This page took 0.033386 seconds and 5 git commands to generate.