adding include pcap in get_gateway such that get_gateway compiles on linux.