gamelinux/passivedns — pull request #35 by brandt (2014-08-26 02:55:10+00:00)
Title: Fix missing struct member 's6_addr32' on OSX

Like FreeBSD, `in6_addr` doesn't have a struct member called `s6_addr32` on Mac OS X.

This commit adds OSX to the controlled group that replaces `s6_addr32` with `__u6_addr.__u6_addr32`.

Prior to this commit, building on Mac OS X would throw this error:

```
dns.c:520:11: error: no member named 's6_addr32' in 'struct in6_addr'
&IP4ADDR(&ip_addr),
^~~~~~~~~~~~~~~~~
./passivedns.h:294:28: note: expanded from macro 'IP4ADDR'
```