diff options
Diffstat (limited to 'ares/nameser.h')
-rw-r--r-- | ares/nameser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ares/nameser.h b/ares/nameser.h index 1faeb6ff8..a7587d002 100644 --- a/ares/nameser.h +++ b/ares/nameser.h @@ -30,7 +30,9 @@ struct iovec size_t iov_len; /* Length of data. */ }; +#ifndef __WATCOMC__ #define getpid() _getpid() +#endif int ares_writev (SOCKET s, const struct iovec *vector, size_t count); #define writev(s,vect,count) ares_writev(s,vect,count) |