imap-append.c: Fixed compilation errors on some platforms
authorSteve Holme <steve_holme@hotmail.com>
Sun, 30 Mar 2014 09:56:51 +0000 (10:56 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 30 Mar 2014 09:56:51 +0000 (10:56 +0100)
In the initializer for len, there is no prototype for "strlen".
In this statement, there is no prototype for "memcpy".

docs/examples/imap-append.c

index 8f0ebcb..fa531a8 100644 (file)
@@ -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