]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
examples/sessioninfo.c: add include to fix compiler warning
authorGisle Vanem <gisle.vanem@gmail.com>
Tue, 31 Mar 2020 12:32:29 +0000 (14:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 31 Mar 2020 12:32:29 +0000 (14:32 +0200)
Fixes #5171

docs/examples/sessioninfo.c

index d137c4bfc50c1665a94c9034bbc7902987977fa2..98bf2bfd81c94b77e51f90323207f60a76f476e9 100644 (file)
@@ -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;