mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
tools: Fix compile error with older gcc versions.
* tools/mime-parser.h: Include rfc822parse.h. (struct rfc822parse_context): Remove duplicate definition. -- GnuPG-bug-id: 2851 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
1890896fe6
commit
b1f48da02b
@ -20,6 +20,8 @@
|
||||
#ifndef GNUPG_MIME_PARSER_H
|
||||
#define GNUPG_MIME_PARSER_H
|
||||
|
||||
#include "rfc822parse.h"
|
||||
|
||||
struct mime_parser_context_s;
|
||||
typedef struct mime_parser_context_s *mime_parser_t;
|
||||
|
||||
@ -50,10 +52,6 @@ void mime_parser_set_collect_signature (mime_parser_t ctx,
|
||||
gpg_error_t mime_parser_parse (mime_parser_t ctx, estream_t fp);
|
||||
|
||||
|
||||
/* Duplicated declaration of the RFC822 parser context. */
|
||||
struct rfc822parse_context;
|
||||
typedef struct rfc822parse_context *rfc822parse_t;
|
||||
|
||||
rfc822parse_t mime_parser_rfc822parser (mime_parser_t ctx);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user