moved sys/types inclusion into the standard socket section
Removed compiler warnings