summaryrefslogtreecommitdiffstats
path: root/packet-gsm_sim.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-01-04 21:56:08 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-04 21:56:08 +0100
commit00acf1dd5ddab6a4c9a7e5aed97385ee2703a7e4 (patch)
treeb2b217d8e56cbac33e3f1c4ba7ff53c46de7046d /packet-gsm_sim.c
parentf78d588d8394485afd982524532e5652996d3038 (diff)
define ENC_BIG_ENDIAN and ENC_NA if they are not yet defined
Diffstat (limited to 'packet-gsm_sim.c')
-rw-r--r--packet-gsm_sim.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/packet-gsm_sim.c b/packet-gsm_sim.c
index 9ec85c7..a2bc97c 100644
--- a/packet-gsm_sim.c
+++ b/packet-gsm_sim.c
@@ -37,6 +37,12 @@
#include <epan/lapd_sapi.h>
#include <epan/prefs.h>
+/* backwards compatibility with older wireshark */
+#ifndef ENC_BIG_ENDIAN
+#define ENC_BIG_ENDIAN FALSE
+#define ENC_NA FALSE
+#endif
+
static int proto_gsm_sim = -1;
/* ISO 7816-4 APDU */