aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/if2ip.c6
-rw-r--r--lib/setup.h8
2 files changed, 8 insertions, 6 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index 84785a580..0dd403ac9 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -27,7 +27,6 @@
#include <stdlib.h>
#include <string.h>
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
@@ -68,7 +67,6 @@
#endif
#ifdef VMS
-#define IOCTL_3_ARGS
#include <inet.h>
#endif
@@ -79,10 +77,6 @@
#include "memdebug.h"
#endif
-#ifdef DJGPP
-#define IOCTL_3_ARGS
-#endif
-
#define SYS_ERROR -1
char *Curl_if2ip(char *interface, char *buf, int buf_size)
diff --git a/lib/setup.h b/lib/setup.h
index 1d78dc6d2..20120d8a6 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -248,4 +248,12 @@ typedef struct in_addr Curl_ipconnect;
#define SIZEOF_CURL_OFF_T sizeof(curl_off_t)
#endif
+#ifdef VMS
+#define IOCTL_3_ARGS
+#endif
+
+#ifdef mpeix
+#define IOCTL_3_ARGS
+#endif
+
#endif /* __CONFIG_H */