Bläddra i källkod

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".
Steve Holme 10 år sedan
förälder
incheckning
0c4589f0c0
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      docs/examples/imap-append.c

+ 1 - 0
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