From 4eeaecbc186bd6684b1a2ea914240ff522d8d69f Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 18 Jan 2007 10:25:40 +0000 Subject: * include/cygwin/in6.h: Drop inclusion of asm/byteorder.h. * fhandler_procnet.cc: Declare htonl and ntohs here. --- winsup/cygwin/fhandler_procnet.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/fhandler_procnet.cc') diff --git a/winsup/cygwin/fhandler_procnet.cc b/winsup/cygwin/fhandler_procnet.cc index e5026ef88..d5cdde881 100644 --- a/winsup/cygwin/fhandler_procnet.cc +++ b/winsup/cygwin/fhandler_procnet.cc @@ -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[] = -- cgit v1.2.3