Bug 1014613 followup - Add one more fix for OpenBSD.

This commit is contained in:
Jan Beich 2014-05-26 16:05:53 +12:00
parent fefce21291
commit 2b2f779021

View File

@ -24,6 +24,8 @@ elif CONFIG['OS_TARGET'] == 'Darwin':
elif CONFIG['OS_TARGET'] in ('DragonFly', 'FreeBSD', 'OpenBSD', 'NetBSD'):
if not CONFIG['OS_TARGET'] == 'NetBSD':
DEFINES['ENODATA'] = '-0x80000003'
if CONFIG['OS_TARGET'] == 'OpenBSD':
DEFINES['EBADMSG'] = '-0x80000006'
DEFINES['HAVE_SYS_UIO_H'] = True
DEFINES['off64_t'] = 'off_t'
LOCAL_INCLUDES += [ 'ports/bsd/include' ]