From 5c3769b056ee0e7c2243907dc87714587695ea2a Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Fri, 7 Sep 2012 15:56:15 +0200 Subject: 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...? --- lib/replace/wscript | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/replace/wscript') diff --git a/lib/replace/wscript b/lib/replace/wscript index e178cca9cd..3dbbd2a97a 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -41,6 +41,7 @@ def configure(conf): # 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') -- cgit