mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-06 11:34:13 +02:00
16 lines
341 B
Diff
16 lines
341 B
Diff
Upstream: Should be
|
|
Reason: Fixes compilation under gcc-10
|
|
|
|
diff --git a/ntp.h b/ntp.h
|
|
index bfca553..5f8f581 100644
|
|
--- a/ntp.h
|
|
+++ b/ntp.h
|
|
@@ -107,7 +107,7 @@ struct ntp_msg {
|
|
struct l_fixedpt orgtime;
|
|
struct l_fixedpt rectime;
|
|
struct l_fixedpt xmttime;
|
|
-} __packed;
|
|
+} __attribute__((__packed__));
|
|
|
|
struct ntp_query {
|
|
int fd;
|