diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-02-17 10:14:44 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-02-17 10:14:44 +0000 |
| commit | 39d444447592239b892c04360bbf0b3960c49802 (patch) | |
| tree | e0c1d9028fe8cc5b98835399363b1cbb92d58f9c | |
| parent | 017ebd33f9db4042c0618c47a929a50337129aba (diff) | |
| download | lasso-39d444447592239b892c04360bbf0b3960c49802.tar.gz lasso-39d444447592239b892c04360bbf0b3960c49802.tar.xz lasso-39d444447592239b892c04360bbf0b3960c49802.zip | |
in tools.c, add defines to permit import of timegm
| -rw-r--r-- | lasso/xml/tools.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c index 7f2a0b0e..2202f3c6 100644 --- a/lasso/xml/tools.c +++ b/lasso/xml/tools.c @@ -24,6 +24,9 @@ /* permit importation of strptime for glibc2 */ #define _XOPEN_SOURCE +/* permit importation of timegm for glibc2, wait for people to complain it does not work on their + * system. */ +#define _BSD_SOURCE #include "private.h" #include <string.h> #include <time.h> |
