[erlang-patches] Compiling erl_interface on FreeBSD 6.2

Oscar Hellström <>
Wed Apr 18 11:51:06 CEST 2007


Hi,

I've compiled R11B-4 or FreeBSD 6.2, not using the ports tree and 
noticed that erl_interface does not build due to wrong number of 
arguments to gethostbyname_r.
This trivial patch lets it compile. I'm however not sure if it should 
also check the version of FreeBSD (which the macro does give) rather 
than just if it is FreeBSD...

Best regards

-- 
Oscar Hellström, 
Erlang Training and Consulting
http://www.erlang-consulting.com/

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: erl_interface_bsd_6.2.diff
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20070418/4acdc249/attachment.ksh>


More information about the erlang-patches mailing list