sam-github/libnet — pull request #40 by allfro (2013-09-19 02:05:00+00:00)
Title: Fix build error in Mac OS X

The IFT_FASTETHER, IFT_FASTETHERFX, IFT_GIGABITETHERNET constants are not defined in Mac OS X Mountain Lion. Only IFT_ETHER and IFT_L2VLAN are. This patch checks for the existence of these definitions.