Re: Build fails on NetBSD

Subject: Re: Build fails on NetBSD

Date: Tue, 13 Oct 2026 19:00:20 +0000

To: David Bremner, Anton Khirnov, notmuch@notmuchmail.org

Cc:

From: Frank Seifferth


> Should it go in lib/notmuch-private.h (perhaps ifdef'ed) or is it better
> to keep the scope small?

Placing the declaration in lib/notmuch-private.h seems to work just as well.
As long as declaring environ doesn't cause problems on other platforms, I
don't see why an ifdef would be necessary. As for the stylistic issue of where
to put the declaration: You know the code base a lot better than me, so your
intuition as to where it should go is probably correct.


Best

Frank
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: