Commit ba4bd438 authored by Jørn Åne de Jong's avatar Jørn Åne de Jong

Resolve libpcap through autoconf.

parent 5b7a2e34
......@@ -68,6 +68,9 @@ AC_CHECK_FUNC(sched_setscheduler,[true],
AC_CHECK_FUNC(pow,[true],
AC_SEARCH_LIBS(pow, m))
AC_CHECK_FUNC(pcap_open_live,[true],
AC_SEARCH_LIBS(pcap_open_live, pcap))
#########################
# Private configuration #
#########################
......
......@@ -48,7 +48,7 @@
#include <netinet/ip6.h>
#include <netinet/udp.h>
#include <limits.h>
#include <pcap.h>
#include <pcap.h>
#include <netpacket/packet.h>
#include <net/ethernet.h> /* the L2 protocols */
//#include <linux/if_packet.h> // provided by netpacket/packet.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment