blob: f0c033a1aa9a7b23b347bb18da52e3f5e30265af [file] [log] [blame]
From d4496006ac1e0c99908108b998ae39afb0658733 Mon Sep 17 00:00:00 2001
From: Joseph Benden <joe@benden.us>
Date: Tue, 7 Jul 2020 11:42:40 -0700
Subject: [PATCH] Expand __packed definition.
Signed-off-by: Joseph Benden <joe@benden.us>
[Retrieved from:
https://github.com/aircrack-ng/aircrack-ng/commit/d4496006ac1e0c99908108b998ae39afb0658733]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
lib/radiotap/radiotap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/radiotap/radiotap.h b/lib/radiotap/radiotap.h
index 57f784b8d..bb5a41dfc 100644
--- a/lib/radiotap/radiotap.h
+++ b/lib/radiotap/radiotap.h
@@ -56,7 +56,7 @@ struct ieee80211_radiotap_header {
* @it_present: (first) present word
*/
uint32_t it_present;
-} __packed;
+} __attribute__((__packed__));
/* version is always 0 */
#define PKTHDR_RADIOTAP_VERSION 0