From: David CARLIER Date: Mon, 13 Jul 2020 13:36:08 +0000 (+0100) Subject: build: Enable BSD symbols for Haiku X-Git-Tag: v5.1.0-rc0~12^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc4334303e042a78b672a2f31c55960958ba14ca;p=thirdparty%2Fqemu.git build: Enable BSD symbols for Haiku Tell Haiku to provide various BSD functions by setting BSD_SOURCE and linking libbsd. Signed-off-by: David Carlier Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell Message-id: 20200703145614.16684-2-peter.maydell@linaro.org [PMM: expanded commit message] Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- diff --git a/configure b/configure index 9b6ab9d3ca3..c70b43d1394 100755 --- a/configure +++ b/configure @@ -904,8 +904,8 @@ SunOS) ;; Haiku) haiku="yes" - QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS $QEMU_CFLAGS" - LIBS="-lposix_error_mapper -lnetwork $LIBS" + QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS -DBSD_SOURCE $QEMU_CFLAGS" + LIBS="-lposix_error_mapper -lnetwork -lbsd $LIBS" ;; Linux) audio_drv_list="try-pa oss"