aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap-int.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-05-05 10:47:35 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-05-05 10:47:35 +0000
commit3c2089e582534976b141080ce968c86a2dfb2f99 (patch)
treedcf85176894961e4cf5ef6ab05d392622c47828e /wiretap/wtap-int.h
parent0bea95c152fbd8a12aeeb1f1f7ca3f206232498e (diff)
fix win32 build by using wtap_get_num_file_types() instead of direct variable access
svn path=/trunk/; revision=21689
Diffstat (limited to 'wiretap/wtap-int.h')
-rw-r--r--wiretap/wtap-int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wiretap/wtap-int.h b/wiretap/wtap-int.h
index f8ab6583fa..2ccac581bf 100644
--- a/wiretap/wtap-int.h
+++ b/wiretap/wtap-int.h
@@ -277,6 +277,8 @@ struct wtap_dumper {
extern size_t wtap_dump_file_write(wtap_dumper *wdh, const void *buf, unsigned bufsize);
extern int wtap_dump_file_ferror(wtap_dumper *wdh);
+extern gint wtap_num_file_types;
+
/* Macros to byte-swap 32-bit and 16-bit quantities. */
#define BSWAP32(x) \
((((x)&0xFF000000)>>24) | \