summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/librfid/rfid_layer2_iso14443a.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/librfid/rfid_layer2_iso14443a.h b/include/librfid/rfid_layer2_iso14443a.h
index 0ff84eb..81f1680 100644
--- a/include/librfid/rfid_layer2_iso14443a.h
+++ b/include/librfid/rfid_layer2_iso14443a.h
@@ -33,7 +33,7 @@ struct iso14443a_atqa {
uid_size:2;
u_int8_t proprietary:4,
rfu2:4;
-};
+} __attribute__((packed));
#define ISO14443A_HLTA 0x5000
@@ -42,7 +42,7 @@ struct iso14443a_anticol_cmd {
unsigned char sel_code;
unsigned char nvb;
unsigned char uid_bits[5];
-};
+} __attribute__((packed));
enum iso14443a_anticol_sel_code {
ISO14443A_AC_SEL_CODE_CL1 = 0x93,
personal git repositories of Harald Welte. Your mileage may vary