projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
[gnulib.git]
/
lib
/
inet_ntop.c
diff --git
a/lib/inet_ntop.c
b/lib/inet_ntop.c
index
34574be
..
8329c82
100644
(file)
--- a/
lib/inet_ntop.c
+++ b/
lib/inet_ntop.c
@@
-76,8
+76,10
@@
inet_ntop (int af, const void *restrict src,
{
switch (af)
{
+#if HAVE_IPV4
case AF_INET:
return (inet_ntop4 (src, dst, cnt));
+#endif
#if HAVE_IPV6
case AF_INET6: