diff options
author | Balint Reczey <balint.reczey@ericsson.com> | 2011-06-04 21:20:57 +0000 |
---|---|---|
committer | Balint Reczey <balint.reczey@ericsson.com> | 2011-06-04 21:20:57 +0000 |
commit | 311f9acfd5b610444e5545db929ae630789b7be6 (patch) | |
tree | 288c6a74a60c7922ee79c506c3c538252db894c2 /wiretap/pcap-common.h | |
parent | 7b75e667749ef166a0190f8ddb376ffec6c61d96 (diff) |
Fix wiretap headers to allow error-free ABI dumping.
svn path=/trunk/; revision=37543
Diffstat (limited to 'wiretap/pcap-common.h')
-rw-r--r-- | wiretap/pcap-common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/wiretap/pcap-common.h b/wiretap/pcap-common.h index 9477ad0ae4..c3102ee3f0 100644 --- a/wiretap/pcap-common.h +++ b/wiretap/pcap-common.h @@ -24,6 +24,12 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef __W_PCAP_COMMON_H__ +#define __W_PCAP_COMMON_H__ + +#include <glib.h> +#include <wtap.h> + extern int pcap_process_pseudo_header(FILE_T fh, int file_type, int wtap_encap, guint packet_size, gboolean check_packet_size, struct wtap_pkthdr *phdr, union wtap_pseudo_header *pseudo_header, int *err, gchar **err_info); @@ -36,3 +42,5 @@ extern int pcap_get_phdr_size(int encap, extern gboolean pcap_write_phdr(wtap_dumper *wdh, int wtap_encap, const union wtap_pseudo_header *pseudo_header, int *err); + +#endif |