]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: [io]stream-rawlog.h should auto-include iostream-rawlog.h
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 28 Apr 2016 12:00:44 +0000 (15:00 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 28 Apr 2016 12:01:38 +0000 (15:01 +0300)
Otherwise compiler will warn about the missing enum.

src/lib/istream-rawlog.h
src/lib/ostream-rawlog.h

index 7fc9ac194a637ae4a6fa1dac4e02236625813c60..4126f23295072978de7f0dd6559ded00b2f8b88f 100644 (file)
@@ -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);
index 59899532aecef2686840b1ce91724ef7d3537a6d..8f3e2b7a1aa0ac36acf1bdb1fc16200178070364 100644 (file)
@@ -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);