diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-03-22 23:47:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-03-22 23:47:28 +0000 |
commit | 0df6b59a9145f038abfcf76a9fc5fc979a9d7429 (patch) | |
tree | 5a93f7396c4dcfc4e7035384d50d14cf2305d2ff /wiretap | |
parent | 1c07cd9b89e862e6c08655ac70a366317c532d60 (diff) |
Make the previous checkin actually compile on big-endian machines.
svn path=/trunk/; revision=1742
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/netmon.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wiretap/netmon.c b/wiretap/netmon.c index 4085dcc221..7a3bbeb5d8 100644 --- a/wiretap/netmon.c +++ b/wiretap/netmon.c @@ -1,6 +1,6 @@ /* netmon.c * - * $Id: netmon.c,v 1.27 2000/03/22 09:52:21 guy Exp $ + * $Id: netmon.c,v 1.28 2000/03/22 23:47:28 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -126,6 +126,9 @@ int netmon_open(wtap *wth, int *err) guint32 frame_table_length; int frame_table_size; guint32 *frame_table; +#ifdef WORDS_BIGENDIAN + int i; +#endif /* Read in the string that should be at the start of a Network * Monitor file */ |