aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@61ea717e-8e0c-4c3c-b38e-e9c67f54f1f1>2000-12-12 15:13:03 +0000
committergoodale <goodale@61ea717e-8e0c-4c3c-b38e-e9c67f54f1f1>2000-12-12 15:13:03 +0000
commita94f55b0d26840e18f8533f9e590fc48f6a06f06 (patch)
tree0f75c8d7de7cc2a8d48fd93a904e67622289c946
parent574893e7ec67cff4f69f57d2ce37ed10350ba01d (diff)
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
-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"