* include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.
* fhandler_procnet.cc: Declare htonl and ntohs here.
This commit is contained in:
		| @@ -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> | 2007-01-17  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* Makefile.in (DLL_OFILES): Add fhandler_procnet.o. | 	* Makefile.in (DLL_OFILES): Add fhandler_procnet.o. | ||||||
|   | |||||||
| @@ -34,6 +34,9 @@ details. */ | |||||||
| #define GAA_FLAG_INCLUDE_ALL_INTERFACES 0x0100 | #define GAA_FLAG_INCLUDE_ALL_INTERFACES 0x0100 | ||||||
| #endif | #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 int PROCNET_IFINET6 = 2; | ||||||
|  |  | ||||||
| static const char * const process_listing[] = | static const char * const process_listing[] = | ||||||
|   | |||||||
| @@ -13,8 +13,6 @@ details. */ | |||||||
| #ifndef _CYGWIN_IN6_H | #ifndef _CYGWIN_IN6_H | ||||||
| #define _CYGWIN_IN6_H | #define _CYGWIN_IN6_H | ||||||
|  |  | ||||||
| #include <asm/byteorder.h> |  | ||||||
|  |  | ||||||
| #define INET6_ADDRSTRLEN 46 | #define INET6_ADDRSTRLEN 46 | ||||||
|  |  | ||||||
| #define IN6_ARE_ADDR_EQUAL(a, b) \ | #define IN6_ARE_ADDR_EQUAL(a, b) \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user