Support #32425 » patch-lasso_xml_tools.c
1 |
--- lasso/xml/tools.c.orig 2019-04-17 13:47:26.000000000 +0100 |
---|---|
2 |
+++ lasso/xml/tools.c 2019-04-17 13:47:53.000000000 +0100 |
3 |
@@ -28,7 +28,9 @@ |
4 |
*/
|
5 |
#define _DEFAULT_SOURCE
|
6 |
/* permit importation of strptime for glibc2 */
|
7 |
+#if !defined(__sun) |
8 |
#define _XOPEN_SOURCE
|
9 |
+#endif |
10 |
/* permit importation of timegm for glibc2, wait for people to complain it does not work on their
|
11 |
* system. */
|
12 |
#define _BSD_SOURCE
|