summaryrefslogtreecommitdiff
path: root/addrtoname.c
diff options
context:
space:
mode:
Diffstat (limited to 'addrtoname.c')
-rw-r--r--addrtoname.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/addrtoname.c b/addrtoname.c
index 03fd5a07..55937929 100644
--- a/addrtoname.c
+++ b/addrtoname.c
@@ -40,7 +40,13 @@
#define HTONS(x) (x) = htons(x)
#endif
-#ifndef _WIN32
+#ifdef _WIN32
+ /*
+ * We have our own ether_ntohost(), reading from the system's
+ * Ethernet address file.
+ */
+ #include "missing/win_ether_ntohost.h"
+#else
#ifdef USE_ETHER_NTOHOST
#if defined(NET_ETHERNET_H_DECLARES_ETHER_NTOHOST)
/*