fix build error under FreeBSD 7.x.

sys/types.h must be included before sys/socket.h on certain older BSD variants.

/usr/include/netinet/tcp.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tcp_seq'