On Mon, May 25, 2020 at 10:04:40AM -0400, Remco Rijnders wrote:
Having made these changes, I get build errors of the kind:

Remco, sorry I missed a few of those issues. In general you'll want to follow the pattern of other files:

* Your mutt_random.h should have #defines to prevent double inclusion:
#ifndef MUTT_RANDOM_H
#define MUTT_RANDOM_H
...
#endif

* Your mutt_random.c should have at the top:
#if HAVE_CONFIG_H
# include "config.h"
#endif

Take a look at other files to see the pattern.

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to