Added ifdef for apple - OS X doesnt have #include <netpacket/packet.h>