diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-10-08 14:10:26 +0200 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-10-08 14:10:26 +0200 |
commit | 758fe88dada513c9a3d50adf091318b10cc8b165 (patch) | |
tree | e33e8e1acb625a6f2ef36f5fa846e35b017847b4 /lasso/xml | |
parent | 270f1743f0dd1bc9ce90fbc7afa69c39de4d1846 (diff) | |
download | lasso-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.c | 3 |
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> |