aboutsummaryrefslogtreecommitdiff
path: root/xmlmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmlmodule.c')
-rw-r--r--xmlmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmlmodule.c b/xmlmodule.c
index 50ed666a..7f70f9cb 100644
--- a/xmlmodule.c
+++ b/xmlmodule.c
@@ -8,6 +8,11 @@
* http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html
*/
+/* In order RTLD_GLOBAL and RTLD_NOW to be defined on zOS */
+#if defined(__MVS__)
+#define _UNIX03_SOURCE
+#endif
+
#define IN_LIBXML
#include "libxml.h"