<div dir="ltr">On 5 September 2016 at 21:11, Luc Schrijvers <span dir="ltr"><<a href="mailto:begasus@gmail.com" target="_blank">begasus@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Make failed on me not finding getifaddrs, adding #elif defined _BSD_SOURCE in the localwebserver.cpp file after line 298 fixed that issue on Haiku, but when I try to start the server in ScummVM I get the local address 0.0.0.0 ... (and in Terminal it shows me "WARNING: LocalWebserver: Failed to resolve IP with the default way!"</div></blockquote><div><br></div><div>Do you have a reliable way of determining current IP address of the machine? That is the function to use here.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Also Haiku is missing xdg-utils to use xdg-open ... "/bin/sh: xdg-open: command not found"</div><div>Any pointers that I could use?</div></div></blockquote><div><br></div><div>Do you have a way of opening an arbitrary URL in a local browser on the machine? This is the one which you need to implement here. Most probably you need to put it into openurl-beos.cpp or similar.</div><div><br></div><div><br></div><div>Eugene</div></div></div></div>