From 8c43a81212224f3229ecb12f4b0200c4f569b94f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 4 Mar 2006 06:34:54 +0000 Subject: [PATCH] (gl_FUNC_POLL): If we deem poll(2) unacceptable, use our replacement poll.h in any case, to avoid a differing declaration from a system header. Seen on AIX. --- m4/poll.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/m4/poll.m4 b/m4/poll.m4 index aed57a0503..68c272a22f 100644 --- a/m4/poll.m4 +++ b/m4/poll.m4 @@ -1,5 +1,5 @@ -# poll.m4 serial 4 -dnl Copyright (c) 2003, 2005 Free Software Foundation, Inc. +# poll.m4 serial 5 +dnl Copyright (c) 2003, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -57,6 +57,7 @@ This is MacOSX fi if test $gl_cv_func_poll = no; then + POLL_H=poll.h # Avoid differing declaration from a system header. AC_LIBOBJ(poll) AC_DEFINE(poll, rpl_poll, [Define to poll if the replacement function should be used.]) -- 2.30.2