aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-29 15:35:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-29 15:35:42 +0000
commit7e45a1ac5310cba784fe4434e41f6ad276976d80 (patch)
tree29b217a2917dadce2ebe9fb4f2cab1fb1f4282eb /lib
parent76a51ef4b3c4d1db80223a57ff9928019d3312cb (diff)
moved the definitions of IOCTL_3_ARGS to setup.h
Diffstat (limited to 'lib')
-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 */