IN6_ARE_ADDR_EQUAL was used only once, replaced it.
Toxcore closer to building correctly with gcc -std=c99.