# HG changeset patch # User Simon Josefsson # Date 1131497937 0 # Node ID 87f075c0178dbe3ff64e962c2e399f9040b4be1c # Parent a144eefda6e8daa950df95065af4cb8cb276e525 * inet_ntop.h: Use #if !, not #ifndef, for AC_CHECK_DECLS. diff --git a/lib/ChangeLog b/lib/ChangeLog --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2005-11-08 Eric Blake + + * inet_ntop.h: Use #if !, not #ifndef, for AC_CHECK_DECLS. + 2005-11-08 Eric Blake * getaddrinfo.h: Use #if !, not #ifndef, for AC_CHECK_DECLS. diff --git a/lib/inet_ntop.h b/lib/inet_ntop.h --- a/lib/inet_ntop.h +++ b/lib/inet_ntop.h @@ -39,7 +39,7 @@ For more details, see the POSIX:2001 specification . */ -#ifndef HAVE_DECL_INET_NTOP +#if !HAVE_DECL_INET_NTOP extern const char *inet_ntop (int af, const void *restrict src, char *restrict dst, socklen_t cnt); #endif