projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Always call res_init() before getaddrinfo().
[oweals/tinc.git]
/
src
/
have.h
diff --git
a/src/have.h
b/src/have.h
index bcd46127a5c49b00dbfc5ef4601db0fe48d4fc8f..e83f98f48ebe1694e491cdc4e5a50f8f34b3c86b 100644
(file)
--- a/
src/have.h
+++ b/
src/have.h
@@
-196,4
+196,15
@@
#include <netinet/if_ether.h>
#endif
+#ifdef HAVE_ARPA_NAMESER_H
+#include <arpa/nameser.h>
+#ifdef STATUS
+#undef STATUS
+#endif
+#endif
+
+#ifdef HAVE_RESOLV_H
+#include <resolv.h>
+#endif
+
#endif /* __TINC_SYSTEM_H__ */