summaryrefslogtreecommitdiffstats
path: root/lasso/xml
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-10-08 14:10:26 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-10-08 14:10:26 +0200
commit758fe88dada513c9a3d50adf091318b10cc8b165 (patch)
treee33e8e1acb625a6f2ef36f5fa846e35b017847b4 /lasso/xml
parent270f1743f0dd1bc9ce90fbc7afa69c39de4d1846 (diff)
downloadlasso-758fe88dada513c9a3d50adf091318b10cc8b165.tar.gz
lasso-758fe88dada513c9a3d50adf091318b10cc8b165.tar.xz
lasso-758fe88dada513c9a3d50adf091318b10cc8b165.zip
[xml] fix waring on use of strndup on pardus
Diffstat (limited to 'lasso/xml')
-rw-r--r--lasso/xml/xml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lasso/xml/xml.c b/lasso/xml/xml.c
index c43608b3..0251d479 100644
--- a/lasso/xml/xml.c
+++ b/lasso/xml/xml.c
@@ -31,9 +31,12 @@
*
*/
+#define _GNU_SOURCE /* for use of strndup */
+
#include "private.h"
#include <ctype.h>
#include <errno.h>
+#include <string.h>
#include <xmlsec/base64.h>
#include <xmlsec/xmltree.h>