You need a new copy of netinet/ip.h and netinet/in_systm.h in /usr/include. Just google "in_systm.h" and "ip.h" and they should be available on any number of sites. Take them from apple's header subdomain if you can see it, usually those cause the least problems for me.