projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5e0858
)
ares_nowarn: add conditional inclusion of assert.h header
author
Yang Tse
<yangsita@gmail.com>
Thu, 16 Dec 2010 17:39:31 +0000
(18:39 +0100)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 16 Dec 2010 17:39:31 +0000
(18:39 +0100)
ares_nowarn.c
patch
|
blob
|
history
diff --git
a/ares_nowarn.c
b/ares_nowarn.c
index
5166222
..
0c77771
100644
(file)
--- a/
ares_nowarn.c
+++ b/
ares_nowarn.c
@@
-17,6
+17,10
@@
#include "ares_setup.h"
+#ifdef HAVE_ASSERT_H
+# include <assert.h>
+#endif
+
#include "ares_nowarn.h"
#if (SIZEOF_INT == 2)