diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2004-07-22 10:07:08 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2004-07-22 10:07:08 +0000 |
| commit | 907e116dc0f585a1aef4bf4f55b4c41549af82a4 (patch) | |
| tree | 5a138afc791e84085920f2118489adaa98b9aa63 | |
| parent | 09bbab2e9497d5b78bef79278e24a75849c6af8f (diff) | |
| download | lasso-907e116dc0f585a1aef4bf4f55b4c41549af82a4.tar.gz lasso-907e116dc0f585a1aef4bf4f55b4c41549af82a4.tar.xz lasso-907e116dc0f585a1aef4bf4f55b4c41549af82a4.zip | |
missing #include (I did my tests with -Werror but -Wall was not activated)
| -rw-r--r-- | lasso/xml/tools.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c index fdff160f..3d58beb3 100644 --- a/lasso/xml/tools.c +++ b/lasso/xml/tools.c @@ -23,7 +23,9 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <string.h> #include <lasso/xml/tools.h> +#include <libxml/uri.h> #include <xmlsec/xmltree.h> #include <xmlsec/base64.h> @@ -357,7 +359,7 @@ xmlChar * lasso_str_escape(xmlChar *str) { /* value returned must be xmlFree() */ - return (xmlChar*)(xmlURIEscapeStr((const xmlChar *)str, NULL)); + return (xmlURIEscapeStr((const xmlChar *)str, NULL)); } xmlChar * |
