osflags: on Haiku, require BSD headers and lib

This commit is contained in:
François Revol 2023-11-18 18:19:14 +01:00
parent b82bc776b3
commit 8ba813f08e

View file

@ -13,7 +13,7 @@ link)
echo '-lsocket -lbind -lbsd'; echo '-lsocket -lbind -lbsd';
;; ;;
Haiku) Haiku)
echo '-lnetwork'; echo '-lnetwork -lbsd';
;; ;;
windows32) windows32)
echo '-lws2_32 -liphlpapi'; echo '-lws2_32 -liphlpapi';
@ -35,6 +35,9 @@ cflags)
BeOS) BeOS)
echo '-Dsocklen_t=int'; echo '-Dsocklen_t=int';
;; ;;
Haiku)
echo '-D_DEFAULT_SOURCE';
;;
Darwin) Darwin)
echo '-D__APPLE_USE_RFC_3542'; echo '-D__APPLE_USE_RFC_3542';
;; ;;