From: Simon Josefsson Date: Sat, 7 Jun 2008 20:48:03 +0000 (+0200) Subject: Make it find strlen. X-Git-Tag: gnutls_2_3_14~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=970ccc82a8d1c58ad87114efa16d5f30d151df13;p=thirdparty%2Fgnutls.git Make it find strlen. Problem reported by Rainer Gerhards and suggested fix by "John Brooks" . --- diff --git a/NEWS b/NEWS index 60dffa4deb..202cfa2ff9 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,9 @@ See the end for copying conditions. * Version 2.3.14 (unreleased) +** Make C++ example compile. +Earlier it may have failed with an unresolved reference to strlen. + ** API and ABI modifications: No changes since last version. 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 #include +#include /* for strlen */ + /* A very basic TLS client, with anonymous authentication. * written by Eduardo Villanueva Che. */