summaryrefslogtreecommitdiff
path: root/lib/replace/libreplace_cc.m4
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-09-07 15:56:15 +0200
committerBjörn Jacke <bj@sernet.de>2012-09-07 16:42:14 +0200
commit5c3769b056ee0e7c2243907dc87714587695ea2a (patch)
tree089aeb926393b56d74995d539d58fb006e79eb0c /lib/replace/libreplace_cc.m4
parentee2d6ae1480496c89f483cc3613f025a9342b6ab (diff)
downloadsamba-5c3769b056ee0e7c2243907dc87714587695ea2a.tar.gz
samba-5c3769b056ee0e7c2243907dc87714587695ea2a.tar.bz2
samba-5c3769b056ee0e7c2243907dc87714587695ea2a.zip
build: define _BSD_TYPES on IRIX to have types like u_short
why the hell do IRIX systems headers like quota.h use types that are available only with such a define...?
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 e316f8b175..50cb73583b 100644
--- a/lib/replace/libreplace_cc.m4
+++ b/lib/replace/libreplace_cc.m4
@@ -64,6 +64,7 @@ dnl Add #include for broken IRIX header files
case "$host_os" in
*irix6*) AC_ADD_INCLUDE(<standards.h>)
AC_N_DEFINE(_XOPEN_SOURCE,600)
+ AC_N_DEFINE(_BSD_TYPES)
;;
*hpux*)
# mmap on HPUX is completely broken...