From c90e3485795f561e38cd67f64892a37788fa14dc Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 21 Nov 2015 01:47:02 +0000 Subject: examples: Fixed compilation warnings pop3-multi.c:96:5: warning: implicit declaration of function 'memset' imap-multi.c:96:5: warning: implicit declaration of function 'memset' http2-download.c:226:5: warning: implicit declaration of function 'memset' http2-upload.c:290:5: warning: implicit declaration of function 'memset' http2-upload.c:290:5: warning: implicit declaration of function 'memset' --- docs/examples/http2-download.c | 1 + docs/examples/http2-serverpush.c | 1 + docs/examples/http2-upload.c | 1 + docs/examples/imap-multi.c | 3 ++- docs/examples/pop3-multi.c | 3 ++- 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 #include +#include /* somewhat unix-specific */ #include 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 #include +#include /* somewhat unix-specific */ #include 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 #include +#include #include #include 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, , et al. + * Copyright (C) 1998 - 2015, Daniel Stenberg, , 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 +#include #include /* 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, , et al. + * Copyright (C) 1998 - 2015, Daniel Stenberg, , 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 +#include #include /* This is a simple example showing how to retrieve mail using libcurl's POP3 -- cgit v1.2.3