Re: notmuch-0.24.1: missing header include

Subject: Re: notmuch-0.24.1: missing header include

Date: Sat, 13 May 2017 19:54:39 -0300

To: Thomas Klausner, notmuch@notmuchmail.org

Cc: Jonathan Perkin, notmuch@freelists.org

From: David Bremner


Thomas Klausner <tk@giga.or.at> writes:

> Hi!
>
> On Solaris, notmuch-0.24.1 does not compile because lib/message.cc
> uses index(3) but does not include strings.h.
>
> Please apply the attached patch or a similar one.
>
> Thanks,
>  Thomas

In master we've replaced index(3) with strchr(3). Does that fix your
issue, or is the include still needed?

d

Thread: