aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/if2ip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index 988e5924a..d4cfa5181 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -77,6 +77,10 @@
#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)