IPv4 sort and acceptance test work by including arpa/inet.h directly and using memcmp; still no idea how to use the libcompat version.