aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/imap-append.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-03-30 10:56:51 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-03-30 10:56:51 +0100
commit0c4589f0c0d5a0e88cd628748f38488ee4090bfc (patch)
treef4baa86aeb16b5062f66626215bf8977dcce9eda /docs/examples/imap-append.c
parent54ef196db8a7e239ae5940561573aef13614670e (diff)
imap-append.c: Fixed compilation errors on some platforms
In the initializer for len, there is no prototype for "strlen". In this statement, there is no prototype for "memcpy".
Diffstat (limited to 'docs/examples/imap-append.c')
-rw-r--r--docs/examples/imap-append.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/examples/imap-append.c b/docs/examples/imap-append.c
index 8f0ebcb3b..fa531a8c5 100644
--- a/docs/examples/imap-append.c
+++ b/docs/examples/imap-append.c
@@ -20,6 +20,7 @@
*
***************************************************************************/
#include <stdio.h>
+#include <string.h>
#include <curl/curl.h>
/* This is a simple example showing how to send mail using libcurl's IMAP