aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/imap-multi.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-11-21 01:47:02 +0000
committerSteve Holme <steve_holme@hotmail.com>2015-11-21 01:47:02 +0000
commitc90e3485795f561e38cd67f64892a37788fa14dc (patch)
tree10b993651961962d1ee73ee8823bb6dc093a1ce9 /docs/examples/imap-multi.c
parentf024ece8c719c8f943ffec8e405eabbd1178446f (diff)
examples: Fixed compilation warnings
pop3-multi.c:96:5: warning: implicit declaration of function 'memset' imap-multi.c:96:5: warning: implicit declaration of function 'memset' http2-download.c:226:5: warning: implicit declaration of function 'memset' http2-upload.c:290:5: warning: implicit declaration of function 'memset' http2-upload.c:290:5: warning: implicit declaration of function 'memset'
Diffstat (limited to 'docs/examples/imap-multi.c')
-rw-r--r--docs/examples/imap-multi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/examples/imap-multi.c b/docs/examples/imap-multi.c
index c7dc13071..dc6f8ba3c 100644
--- a/docs/examples/imap-multi.c
+++ b/docs/examples/imap-multi.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -20,6 +20,7 @@
*
***************************************************************************/
#include <stdio.h>
+#include <string.h>
#include <curl/curl.h>
/* This is a simple example showing how to fetch mail using libcurl's IMAP