summaryrefslogtreecommitdiffabout
path: root/include
authorSergey Poznyakoff <gray@gnu.org.ua>2004-06-09 07:59:15 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2004-06-09 07:59:15 (GMT)
commit940a459c17cdc1e6f62405c37e5876f8a5806020 (patch) (side-by-side diff)
tree4069e114947a01664a85bac415322739afdf3ce4 /include
parentd75b63634470d9fbcc210679e57fe8c8ca9b03f4 (diff)
downloadmailutils-940a459c17cdc1e6f62405c37e5876f8a5806020.tar.gz
mailutils-940a459c17cdc1e6f62405c37e5876f8a5806020.tar.bz2
Forward declaration of struct timeval is needed for stream_wait().
Diffstat (limited to 'include') (more/less context) (ignore whitespace changes)
-rw-r--r--include/mailutils/stream.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/mailutils/stream.h b/include/mailutils/stream.h
index e03541d..a0da1c9 100644
--- a/include/mailutils/stream.h
+++ b/include/mailutils/stream.h
@@ -83,8 +83,11 @@ extern int stream_setbufsiz __P ((stream_t stream, size_t size));
extern int stream_flush __P ((stream_t));
#define MU_STREAM_READY_RD 0x1
-#define MU_STREAM_READY_WR 0x2
-extern int stream_wait __P((stream_t stream, int *pflags, struct timeval *));
+#define MU_STREAM_READY_WR 0x2
+struct timeval; /* Needed for the following declaration */
+
+extern int stream_wait __P((stream_t stream, int *pflags,
+ struct timeval *));
/* Functions useful to implementors of new stream types. */

Return to:

Send suggestions and report system problems to the System administrator.