Bindgen generated code from installed libpcap. If environment variable LIBPCAP_DIR
is not set, will use pkg-config to locate libpcap. As a last resort, it will fall back to a path search.
- Cannot find "pcap.h" on an OSX system
-
Add system include to your path
export PATH="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include:$PATH"
-