* fhandler_procnet.cc: Drop declaration of htonl and ntohs. Include
asm/byteorder.h instead.
This commit is contained in:
parent
4eeaecbc18
commit
5ea0aee2ce
|
@ -1,3 +1,8 @@
|
||||||
|
2007-01-17 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler_procnet.cc: Drop declaration of htonl and ntohs. Include
|
||||||
|
asm/byteorder.h instead.
|
||||||
|
|
||||||
2007-01-17 Corinna Vinschen <corinna@vinschen.de>
|
2007-01-17 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.
|
* include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.
|
||||||
|
|
|
@ -22,7 +22,8 @@ details. */
|
||||||
#define USE_SYS_TYPES_FD_SET
|
#define USE_SYS_TYPES_FD_SET
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <iphlpapi.h>
|
#include <iphlpapi.h>
|
||||||
#include "cygwin/in6.h"
|
#include <asm/byteorder.h>
|
||||||
|
#include <cygwin/in6.h>
|
||||||
|
|
||||||
#define _COMPILING_NEWLIB
|
#define _COMPILING_NEWLIB
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
@ -34,9 +35,6 @@ 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[] =
|
||||||
|
|
Loading…
Reference in New Issue