On Fri, May 10, 2013 at 8:27 AM, Hans Leidekker hans@codeweavers.com wrote:
... I think it would be nicer to push the platform specifics to helper functions (e.g. setting up the socket or checking for an address change) and use the usual header defines (HAVE_LINUX_NETLINK_H and/or HAVE_SYS_KERN_EVENT_H) for anything that needs to be compiled conditionally.
This look a little more like what you're looking for?
Best, Erich