why the hell do IRIX systems headers like quota.h use types that are available
only with such a define...?
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...
# SCM_RIGHTS is only avail if _XOPEN_SOURCE iѕ defined on IRIX
if conf.env['SYSTEM_UNAME_SYSNAME'] == 'IRIX':
conf.DEFINE('_XOPEN_SOURCE', 600, add_to_cflags=True)
+ conf.DEFINE('_BSD_TYPES', 1, add_to_cflags=True)
conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h')
conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h')