diff --git a/ares/nameser.h b/ares/nameser.h
index 73a9e18423461b2dc6f295d5f31f9104d47b8bbc..3553f8bad956268197836c1916d5d128c588fcc8 100644
--- a/ares/nameser.h
+++ b/ares/nameser.h
@@ -21,7 +21,8 @@ struct iovec
 
 #define getpid() _getpid()
 
-int strcasecmp(const char *a, const char *b);
+struct timezone { int dummy; };
+
 int ares_gettimeofday(struct timeval *tv, struct timezone *tz);
 #define gettimeofday(tv,tz) ares_gettimeofday(tv,tz)