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

Add pcap.h as required header.

parent 4310842b
......@@ -43,7 +43,7 @@ AC_ISC_POSIX
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_HEADER_TIME
AC_CHECK_HEADERS(sys/time.h unistd.h signal.h)
AC_CHECK_HEADERS(sys/time.h unistd.h signal.h pcap.h)
# Check required structures and types
AC_C_CONST
......
......@@ -48,8 +48,7 @@
#include <netinet/ip6.h>
#include <netinet/udp.h>
#include <limits.h>
//#include <pcap.h>
#include <pcap/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