X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/fc249a8e13faa79023f32fb0fe1ddde62d9cc94f..59d86bafb73b420c7c26131626c48243488a4f2b:/include/hitag2.h

diff --git a/include/hitag2.h b/include/hitag2.h
index 00447623..66770d98 100644
--- a/include/hitag2.h
+++ b/include/hitag2.h
@@ -13,6 +13,12 @@
 #ifndef _HITAG2_H_
 #define _HITAG2_H_
 
+#ifdef _MSC_VER
+#define PACKED
+#else
+#define PACKED __attribute__((packed))
+#endif
+
 typedef enum {
 	RHTSF_CHALLENGE           = 01,
 	RHTSF_KEY                 = 02,