aboutsummaryrefslogtreecommitdiff
path: root/ares/setup.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2007-01-30 13:15:07 +0000
committerGisle Vanem <gvanem@broadpark.no>2007-01-30 13:15:07 +0000
commite1e55e4d045baa7d28bab6d020148b45ecc49a9b (patch)
treebe509aee6070f4f5ae740d63217e9c318c66b109 /ares/setup.h
parent1eb530d8dce0229da034b46e1e919c7ef7fa78ec (diff)
Support for OpenWatcom (Win32): It do have getpid(), but no
<sys/time.h>.
Diffstat (limited to 'ares/setup.h')
-rw-r--r--ares/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/setup.h b/ares/setup.h
index a5899d883..465e012fe 100644
--- a/ares/setup.h
+++ b/ares/setup.h
@@ -133,7 +133,7 @@ typedef int ares_socket_t;
* Assume a few thing unless they're set by configure
*/
-#if !defined(HAVE_SYS_TIME_H) && !defined(_MSC_VER)
+#if !defined(HAVE_SYS_TIME_H) && !defined(_MSC_VER) && !defined(__WATCOMC__)
#define HAVE_SYS_TIME_H
#endif