aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/examples/http2-download.c1
-rw-r--r--docs/examples/http2-serverpush.c1
-rw-r--r--docs/examples/http2-upload.c1
-rw-r--r--docs/examples/imap-multi.c3
-rw-r--r--docs/examples/pop3-multi.c3
5 files changed, 7 insertions, 2 deletions
diff --git a/docs/examples/http2-download.c b/docs/examples/http2-download.c
index 8b0650734..d4f111cf1 100644
--- a/docs/examples/http2-download.c
+++ b/docs/examples/http2-download.c
@@ -25,6 +25,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
/* somewhat unix-specific */
#include <sys/time.h>
diff --git a/docs/examples/http2-serverpush.c b/docs/examples/http2-serverpush.c
index 53c491b3a..1a27d21c3 100644
--- a/docs/examples/http2-serverpush.c
+++ b/docs/examples/http2-serverpush.c
@@ -25,6 +25,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
/* somewhat unix-specific */
#include <sys/time.h>
diff --git a/docs/examples/http2-upload.c b/docs/examples/http2-upload.c
index 2ec55059a..cc9883b55 100644
--- a/docs/examples/http2-upload.c
+++ b/docs/examples/http2-upload.c
@@ -25,6 +25,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <fcntl.h>
#include <sys/stat.h>
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
diff --git a/docs/examples/pop3-multi.c b/docs/examples/pop3-multi.c
index 6df09a263..feca2fa9b 100644
--- a/docs/examples/pop3-multi.c
+++ b/docs/examples/pop3-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 retrieve mail using libcurl's POP3