I get similar messages like this one (specifically from compiling nmap):
make: Leaving directory
gcc -g -O2 -Wall -Ilibpcap-possiblymodified -DHAVE_CONFIG_H
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified -c -o
In file included from nmap.h:262,
tcpip.h:358: conflicting types for `inet_aton'
/usr/include/arpa/inet.h:67: previous declaration of `inet_aton'
make: *** [nmap.o] Error 1
The glibc include appears correct, nmap appears to define its own incorrect