aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-01-12 18:42:32 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-01-12 18:43:40 +0000
commita33e7edcec0fe6f980a0dc7b5670072c4be58708 (patch)
treed2de9e3964856897e3770141b6cc879cb293c323 /docs/examples
parent0fea86afe373e852a363754e76c210815e156f55 (diff)
examples: Fixed compilation errors
error: 'MULTI_PERFORM_HANG_TIMEOUT' undeclared
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/imap-multi.c2
-rw-r--r--docs/examples/pop3-multi.c2
2 files changed, 4 insertions, 0 deletions
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;