Make `inet-ntop' and `inet-pton' available even when !HAVE_IPV6.
authorLudovic Courtès <ludo@gnu.org>
Sat, 29 Jan 2011 21:26:42 +0000 (22:26 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 29 Jan 2011 21:26:42 +0000 (22:26 +0100)
commite91f21dc1093dc7be139f99d211edee01a64705f
tree48b2e9db9626a16f580b6248dea8085086cd5c48
parente9b7af013b34dcee7f67d8ecb8622b61904ad34e
Make `inet-ntop' and `inet-pton' available even when !HAVE_IPV6.

* libguile/socket.c (scm_inet_pton, scm_inet_ntop): Move out of `#ifdef
  HAVE_IPV6' and conditionalize the IPv6-specific bits.  Reported by
  Jan Nieuwenhuizen <janneke@gnu.org>.
libguile/socket.c