summaryrefslogtreecommitdiff
path: root/lib/replace/libreplace_cc.m4
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-07-26 18:27:40 +0200
committerBjörn Jacke <bj@sernet.de>2012-07-26 18:27:40 +0200
commit4f0b8f30c981249012c958768e58857d5b4c27f5 (patch)
treec670c96140104824a47bb213db01ca8e7d5944ad /lib/replace/libreplace_cc.m4
parent4b914a223da0490495c1f2988172583469565eb2 (diff)
downloadsamba-4f0b8f30c981249012c958768e58857d5b4c27f5.tar.gz
samba-4f0b8f30c981249012c958768e58857d5b4c27f5.tar.bz2
samba-4f0b8f30c981249012c958768e58857d5b4c27f5.zip
s3/aio_fork: fix build on irix
IRIX needs _XOPEN_SOURCE defined for SCM_RIGHTS to be available
Diffstat (limited to 'lib/replace/libreplace_cc.m4')
-rw-r--r--lib/replace/libreplace_cc.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/libreplace_cc.m4 b/lib/replace/libreplace_cc.m4
index c7550473dd..e316f8b175 100644
--- a/lib/replace/libreplace_cc.m4
+++ b/lib/replace/libreplace_cc.m4
@@ -63,6 +63,7 @@ AC_SYS_LARGEFILE
dnl Add #include for broken IRIX header files
case "$host_os" in
*irix6*) AC_ADD_INCLUDE(<standards.h>)
+ AC_N_DEFINE(_XOPEN_SOURCE,600)
;;
*hpux*)
# mmap on HPUX is completely broken...