summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2020-03-31 14:32:29 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-03-31 14:32:29 +0200
commite37dc71eaeb40b37c4c6a2dce2f9daf925f23118 (patch)
tree811630dbbe6da23a9f68d7cf111e7140ebca0743
parentd1369fe216b3fbfc44ca2de1a6cb2a3e2de859d7 (diff)
downloadcurl-e37dc71eaeb40b37c4c6a2dce2f9daf925f23118.tar.gz
examples/sessioninfo.c: add include to fix compiler warning
Fixes #5171
-rw-r--r--docs/examples/sessioninfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/examples/sessioninfo.c b/docs/examples/sessioninfo.c
index d137c4bfc..98bf2bfd8 100644
--- a/docs/examples/sessioninfo.c
+++ b/docs/examples/sessioninfo.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, 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
@@ -31,6 +31,7 @@
#include <curl/curl.h>
#include <gnutls/gnutls.h>
+#include <gnutls/x509.h>
static CURL *curl;