Skip to content

Commit

Permalink
osflags: on Haiku, require BSD headers and lib
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuman committed Nov 18, 2023
1 parent b82bc77 commit 8ba813f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/osflags
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ link)
echo '-lsocket -lbind -lbsd';
;;
Haiku)
echo '-lnetwork';
echo '-lnetwork -lbsd';
;;
windows32)
echo '-lws2_32 -liphlpapi';
Expand All @@ -35,6 +35,9 @@ cflags)
BeOS)
echo '-Dsocklen_t=int';
;;
Haiku)
echo '-D_DEFAULT_SOURCE';
;;
Darwin)
echo '-D__APPLE_USE_RFC_3542';
;;
Expand Down

0 comments on commit 8ba813f

Please sign in to comment.