Subject: Re: libnbcompat poll changes break in FreeBSD.
To: Juan RP <juan@xtraeme.unixbsd.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 04/23/2004 21:19:31
--v9Ux+11Zm5mwPlX6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 23, 2004 at 12:22:39PM +0200, Juan RP wrote:

> Why is not needed? I don't see HAVE_POLL defined anywhere, and it's really
> needed if you want to use poll, sys/poll.h when building pkg_install, nbc=
ompat.h
> contains:
>=20
> #if HAVE_POLL
> # if HAVE_POLL_H
> #  include <poll.h>
> # elif HAVE_SYS_POLL_H
> #  include <sys/poll.h>
> # endif
> #else
> # include <nbcompat/poll.h>
> #endif
>=20
> If HAVE_POLL is not defined, we'll pick up nbcompat/poll.h, do am I
> understanding this right?

yes, that's correct. I'll apply the fix.

grant.


--v9Ux+11Zm5mwPlX6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAiPvDluYOb9yiFXoRAs3XAJ9uG2TSAls8iYOMS07/aW8R7WJEHQCfWzKG
7xVo0kGPsNxOAIaeNnjkcVE=
=6RDc
-----END PGP SIGNATURE-----

--v9Ux+11Zm5mwPlX6--