From 7b97371ab19ecc932ffc9be11fb7aa00eec45518 Mon Sep 17 00:00:00 2001
From: Gisle Vanem <gvanem@broadpark.no>
Date: Fri, 20 Aug 2004 13:48:24 +0000
Subject: [PATCH] No <sys/uio.h> on DOS/Win32

---
 ares/setup.h | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/ares/setup.h b/ares/setup.h
index 7b933531b0..696f7c58de 100644
--- a/ares/setup.h
+++ b/ares/setup.h
@@ -19,12 +19,6 @@
 #else
 /* simple work-around for now, for systems without configure support */
 #define ssize_t int
-
-#ifdef __MINGW32__
-#define HAVE_SYS_TIME_H
-#define HAVE_UNISTD_H
-#endif
-
 #endif
 
 /* Recent autoconf versions define these symbols in config.h. We don't want
@@ -58,7 +52,7 @@ typedef int ares_socket_t;
 #define HAVE_UNISTD_H 
 #endif
 
-#if !defined(HAVE_SYS_UIO_H) && !defined(WIN32) 
+#if !defined(HAVE_SYS_UIO_H) && !defined(WIN32) && !defined(MSDOS)
 #define HAVE_SYS_UIO_H
 #endif
 
-- 
GitLab