summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_procnet.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_procnet.cc')
-rw-r--r--winsup/cygwin/fhandler_procnet.cc3
1 files changed, 3 insertions, 0 deletions
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[] =