aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 5a4a0eb77..9d2119f0d 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -28,6 +28,7 @@
#define _REENTRANT
+
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#include <winsock.h>
#else
@@ -46,6 +47,10 @@
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
+#ifdef VMS
+#include <inet.h>
+#include <stdlib.h>
+#endif
#endif
#include "urldata.h"