projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't try to call res_init() if ./configure told us it doesn't exist.
[oweals/tinc.git]
/
src
/
netutl.c
diff --git
a/src/netutl.c
b/src/netutl.c
index 8d4d26cce20b2b46c498b9fbebd0f607734567db..275c64f796e29321a39c86d709b42056cdb2f56e 100644
(file)
--- a/
src/netutl.c
+++ b/
src/netutl.c
@@
-39,7
+39,7
@@
struct addrinfo *str2addrinfo(const char *address, const char *service, int sock
hint.ai_family = addressfamily;
hint.ai_socktype = socktype;
-#if
def
HAVE_DECL_RES_INIT
+#if HAVE_DECL_RES_INIT
// ensure glibc reloads /etc/resolv.conf.
res_init();
#endif