summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-06-07 22:48:03 +0200
committerSimon Josefsson <simon@josefsson.org>2008-06-07 22:48:03 +0200
commit970ccc82a8d1c58ad87114efa16d5f30d151df13 (patch)
tree835da87d7b3e43e7f4dce231223625ef6be7098d /doc
parent9de5dac6aab90ecee16de16e04e4f5338971431f (diff)
downloadgnutls-970ccc82a8d1c58ad87114efa16d5f30d151df13.tar.gz
Make it find strlen.
Problem reported by Rainer Gerhards <rgerhards@gmail.com> and suggested fix by "John Brooks" <aspecialj@gmail.com>.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/ex-cxx.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/ex-cxx.cpp b/doc/examples/ex-cxx.cpp
index b43aba658a..3233aa2f16 100644
--- a/doc/examples/ex-cxx.cpp
+++ b/doc/examples/ex-cxx.cpp
@@ -7,6 +7,8 @@
#include <gnutls/gnutls.h>
#include <gnutls/gnutlsxx.h>
+#include <string.h> /* for strlen */
+
/* A very basic TLS client, with anonymous authentication.
* written by Eduardo Villanueva Che.
*/