aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/HostNames.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/HostNames.c b/src/HostNames.c
index 961c7d5..20e0ce1 100644
--- a/src/HostNames.c
+++ b/src/HostNames.c
@@ -34,6 +34,10 @@
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif /* HAVE_NETDB_H */
+#ifdef HAVE_WINSOCK2_H
+#include <winsock2.h>
+#endif /* HAVE_WINSOCK2_H */
+#include <errno.h>
#ifdef CCTK_MPI
#include "mpi.h"