ares_nowarn: add conditional inclusion of assert.h header
authorYang Tse <yangsita@gmail.com>
Thu, 16 Dec 2010 17:39:31 +0000 (18:39 +0100)
committerYang Tse <yangsita@gmail.com>
Thu, 16 Dec 2010 17:39:31 +0000 (18:39 +0100)
ares_nowarn.c

index 5166222..0c77771 100644 (file)
 
 #include "ares_setup.h"
 
+#ifdef HAVE_ASSERT_H
+#  include <assert.h>
+#endif
+
 #include "ares_nowarn.h"
 
 #if (SIZEOF_INT == 2)