From a94f55b0d26840e18f8533f9e590fc48f6a06f06 Mon Sep 17 00:00:00 2001 From: goodale Date: Tue, 12 Dec 2000 15:13:03 +0000 Subject: w2k needs winsock2.h included to find gethostname. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPDExtra/trunk@22 61ea717e-8e0c-4c3c-b38e-e9c67f54f1f1 --- src/HostNames.c | 4 ++++ 1 file changed, 4 insertions(+) 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 #endif /* HAVE_NETDB_H */ +#ifdef HAVE_WINSOCK2_H +#include +#endif /* HAVE_WINSOCK2_H */ +#include #ifdef CCTK_MPI #include "mpi.h" -- cgit v1.2.3