#3642: Missing header when building against S-Lang
-------------------------+---------------------
Reporter: baskerville | Owner: brendan
Type: defect | Status: new
Priority: major | Milestone:
Component: IMAP | Version:
Keywords: |
-------------------------+---------------------
The following:
{{{
./prepare \
--prefix=/usr \
--sysconfdir=/etc \
--enable-gpgme \
--enable-hcache \
--with-slang=/usr \
--with-regex \
--with-idn
make
}}}
yields
{{{
crypt-gpgme.c: In function ‘init_common’:
crypt-gpgme.c:4369:15: error: ‘true’ undeclared (first use in this
function)
has_run = true;
}}}
The following patch ''solves'' the problem:
{{{
diff -r d498f0e91914 crypt-gpgme.c
--- a/crypt-gpgme.c Mon Mar 04 04:14:43 2013 +0000
+++ b/crypt-gpgme.c Sat Mar 23 11:58:04 2013 +0100
@@ -39,6 +39,7 @@
#include <sys/wait.h>
#include <string.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <unistd.h>
#include <sys/stat.h>
#include <errno.h>
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3642>
Mutt <http://www.mutt.org/>
The Mutt mail user agent