net: fix header include order for FreeBSD