Переглянути джерело

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 роки тому
батько
коміт
0c4589f0c0
1 змінених файлів з 1 додано та 0 видалено
  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