summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/libreplace.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index 060d0feefa..b428870a87 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -29,6 +29,12 @@ AH_VERBATIM([_XOPEN_SOURCE_EXTENDED],
# define _XOPEN_SOURCE_EXTENDED 1
#endif])
+AH_VERBATIM([_OSF_SOURCE],
+[/* Enable OSF extensions on systems that have them. */
+#ifndef _OSF_SOURCE
+# define _OSF_SOURCE 1
+#endif])
+
LIBREPLACE_C99_STRUCT_INIT([],[])
AC_SYS_LARGEFILE