This defines IOCTL_3_ARGS in 'cmcurl/setup.h' to teach curl sources about the three-argument ioctl() on VMS.
@@ -264,6 +264,10 @@ typedef unsigned char bool;
#else /* MSDOS */
+#ifdef __VMS
+#define IOCTL_3_ARGS 1
+#endif
+
#ifdef __BEOS__
#define sclose(x) closesocket(x)
#else /* __BEOS__ */