From 4d098ae6ffdf51349e1915970c376df0543d234b Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 9 Nov 2005 00:58:57 +0000 Subject: [PATCH] * inet_ntop.h: Use #if !, not #ifndef, for AC_CHECK_DECLS. --- lib/ChangeLog | 4 ++++ lib/inet_ntop.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 1164ad080a..91db74a39c 100644 --- 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 index 661dca641c..83f5edf337 100644 --- 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 -- 2.30.2