From: Steve Holme Date: Sun, 12 Jan 2014 18:42:32 +0000 (+0000) Subject: examples: Fixed compilation errors X-Git-Tag: curl-7_35_0~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a33e7edcec0fe6f980a0dc7b5670072c4be58708;p=curl examples: Fixed compilation errors error: 'MULTI_PERFORM_HANG_TIMEOUT' undeclared --- 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;