Re: notmuch-0.24.1: missing header include

Subject: Re: notmuch-0.24.1: missing header include

Date: Sun, 14 May 2017 12:08:07 +0200

To: David Bremner

Cc: notmuch@notmuchmail.org, Jonathan Perkin, notmuch@freelists.org

From: Thomas Klausner


On Sat, May 13, 2017 at 07:54:39PM -0300, David Bremner wrote:
> > 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?

Since you already include <string.h> that's fine.

Thanks,
 Thomas

Thread: