[erlang-patches] Patch to fix compilation on OpenIndiana

Trond Norbye <>
Mon Apr 11 11:29:51 CEST 2011

inet_drv.c fails to compile on my system because I got SIOCGIFHWADDR defined, but I don't have the ifr_hwaddr member in the struct.

I do have an enaddr (containing the ethernet address, but I believe the "correct way" to read out the mac address on my openindiana box would be to use libdlpi (at least that's how ifconfig does it). 



Trond Norbye

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20110411/1acf3f2f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-libdlpi-to-get-physical-address.patch.gz
Type: application/x-gzip
Size: 1462 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20110411/1acf3f2f/attachment.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20110411/1acf3f2f/attachment-0001.html>

More information about the erlang-patches mailing list