diff options
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r-- | winsup/cygwin/net.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 4f1a8a0be..f140bdc83 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -31,6 +31,7 @@ details. */ #include "sync.h" #include "sigproc.h" #include "pinfo.h" +#include "registry.h" /* We only want to initialize WinSock in a child process if socket handles are inheritted. This global allows us to know whether this @@ -76,7 +77,6 @@ extern "C" unsigned long int htonl (unsigned long int x) { - MARK (); return ((((x & 0x000000ffU) << 24) | ((x & 0x0000ff00U) << 8) | ((x & 0x00ff0000U) >> 8) | @@ -96,7 +96,6 @@ extern "C" unsigned short htons (unsigned short x) { - MARK (); return ((((x & 0x000000ffU) << 8) | ((x & 0x0000ff00U) >> 8))); } |