From a33e7edcec0fe6f980a0dc7b5670072c4be58708 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 12 Jan 2014 18:42:32 +0000 Subject: examples: Fixed compilation errors error: 'MULTI_PERFORM_HANG_TIMEOUT' undeclared --- docs/examples/imap-multi.c | 2 ++ docs/examples/pop3-multi.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'docs/examples') diff --git a/docs/examples/imap-multi.c b/docs/examples/imap-multi.c index ab46d5757..601205a08 100644 --- a/docs/examples/imap-multi.c +++ b/docs/examples/imap-multi.c @@ -29,6 +29,8 @@ * Note that this example requires libcurl 7.30.0 or above. */ +#define MULTI_PERFORM_HANG_TIMEOUT 60 * 1000 + static struct timeval tvnow(void) { struct timeval now; diff --git a/docs/examples/pop3-multi.c b/docs/examples/pop3-multi.c index 46ccf488c..d14d1159b 100644 --- a/docs/examples/pop3-multi.c +++ b/docs/examples/pop3-multi.c @@ -29,6 +29,8 @@ * Note that this example requires libcurl 7.20.0 or above. */ +#define MULTI_PERFORM_HANG_TIMEOUT 60 * 1000 + static struct timeval tvnow(void) { struct timeval now; -- cgit v1.2.3