From: Timo Sirainen Date: Thu, 28 Apr 2016 12:00:44 +0000 (+0300) Subject: lib: [io]stream-rawlog.h should auto-include iostream-rawlog.h X-Git-Tag: 2.3.0.rc1~3923 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df586de408c73a89c598e09a0ee1e7747146294a;p=thirdparty%2Fdovecot%2Fcore.git lib: [io]stream-rawlog.h should auto-include iostream-rawlog.h Otherwise compiler will warn about the missing enum. --- diff --git a/src/lib/istream-rawlog.h b/src/lib/istream-rawlog.h index 7fc9ac194a..4126f23295 100644 --- a/src/lib/istream-rawlog.h +++ b/src/lib/istream-rawlog.h @@ -1,6 +1,8 @@ #ifndef ISTREAM_RAWLOG_H #define ISTREAM_RAWLOG_H +#include "iostream-rawlog.h" + struct istream * i_stream_create_rawlog(struct istream *input, const char *rawlog_path, int rawlog_fd, enum iostream_rawlog_flags flags); diff --git a/src/lib/ostream-rawlog.h b/src/lib/ostream-rawlog.h index 59899532ae..8f3e2b7a1a 100644 --- a/src/lib/ostream-rawlog.h +++ b/src/lib/ostream-rawlog.h @@ -1,6 +1,8 @@ #ifndef OSTREAM_RAWLOG_H #define OSTREAM_RAWLOG_H +#include "iostream-rawlog.h" + struct ostream * o_stream_create_rawlog(struct ostream *output, const char *rawlog_path, int rawlog_fd, enum iostream_rawlog_flags flags);