diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-06-19 13:17:01 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-06-19 13:17:01 +0200 |
commit | 9326ef3503b342ba25220f396dda54900c3f8c79 (patch) | |
tree | db4fe44b7f207687ab06ba3e13983164893c1984 | |
parent | fd21acf013a5e33818e524e9c8b1c9e1a4b90dc7 (diff) | |
download | gnutls-9326ef3503b342ba25220f396dda54900c3f8c79.tar.gz |
Use cstring instead of string.h.
Reported by Daniel Black <dragonheart@gentoo.org> in
<http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2922>.
-rw-r--r-- | doc/examples/ex-cxx.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/examples/ex-cxx.cpp b/doc/examples/ex-cxx.cpp index 3233aa2f16..1bade542fe 100644 --- a/doc/examples/ex-cxx.cpp +++ b/doc/examples/ex-cxx.cpp @@ -6,8 +6,7 @@ #include <stdexcept> #include <gnutls/gnutls.h> #include <gnutls/gnutlsxx.h> - -#include <string.h> /* for strlen */ +#include <cstring> /* for strlen */ /* A very basic TLS client, with anonymous authentication. * written by Eduardo Villanueva Che. |