projects
/
debian
/
sudo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.8.7
[debian/sudo]
/
compat
/
getaddrinfo.c
diff --git
a/compat/getaddrinfo.c
b/compat/getaddrinfo.c
index 99275871383adc1e91f7a1af579e17535225d8f3..8a3dc3de3dee796b423cf273527212da033e4f4e 100644
(file)
--- a/
compat/getaddrinfo.c
+++ b/
compat/getaddrinfo.c
@@
-32,6
+32,8
@@
#include <config.h>
+#ifndef HAVE_GETADDRINFO
+
#include <sys/types.h>
#include <sys/socket.h>
@@
-436,3
+438,4
@@
getaddrinfo(const char *nodename, const char *servname,
return 0;
}
}
+#endif /* HAVE_GETADDRINFO */