diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-08-22 19:38:49 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-08-22 19:38:49 +0000 |
commit | 4020fb9c391ffd6db845f9d2be9c9bcdaa1cc604 (patch) | |
tree | dcdd73aab497bd2d1414e7df70e06c2b86687a00 /epan/dissectors/packet-ppi.c | |
parent | 1d23f6fd83fb70e257c4bb7b9a4faf086aded35f (diff) |
Move wtap_pcap_encap_to_wtap_encap()'s definition to libpcap.h so packet-ppi.c can get access to it even when we don't HAVE_LIBPCAP (besides, it doesn't seem to be specific to capturing...)
svn path=/trunk/; revision=22591
Diffstat (limited to 'epan/dissectors/packet-ppi.c')
-rw-r--r-- | epan/dissectors/packet-ppi.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ppi.c b/epan/dissectors/packet-ppi.c index 6183fdc733..b6de2fbe5d 100644 --- a/epan/dissectors/packet-ppi.c +++ b/epan/dissectors/packet-ppi.c @@ -54,10 +54,7 @@ /* Needed for wtap_pcap_encap_to_wtap_encap(). Should we move it somewhere * else? */ -#ifdef HAVE_LIBPCAP -#include <pcap.h> -#endif -#include <wiretap/wtap-capture.h> +#include <wiretap/libpcap.h> #include "packet-frame.h" #include "packet-eth.h" |