summaryrefslogtreecommitdiff
path: root/include/iscsi_if.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/iscsi_if.h')
-rw-r--r--include/iscsi_if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/iscsi_if.h b/include/iscsi_if.h
index 9d15811..5be1981 100644
--- a/include/iscsi_if.h
+++ b/include/iscsi_if.h
@@ -341,7 +341,7 @@ struct iscsi_iface_param_info {
uint8_t iface_type; /* IPv4 or IPv6 */
uint8_t param_type; /* iscsi_param_type */
uint8_t value[0]; /* length sized value follows */
-} __packed;
+} __attribute__((__packed__));
/*
* To keep the struct iscsi_uevent size the same for userspace code