summaryrefslogtreecommitdiff
path: root/src/systemd/sd-shutdown.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd/sd-shutdown.h')
-rw-r--r--src/systemd/sd-shutdown.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systemd/sd-shutdown.h b/src/systemd/sd-shutdown.h
index b8f6a487e..6698c8c5c 100644
--- a/src/systemd/sd-shutdown.h
+++ b/src/systemd/sd-shutdown.h
@@ -26,6 +26,8 @@
#include <inttypes.h>
+#include "_sd-common.h"
+
typedef enum sd_shutdown_mode {
SD_SHUTDOWN_NONE = 0,
SD_SHUTDOWN_REBOOT = 'r',
@@ -55,7 +57,7 @@ struct sd_shutdown_command {
/* The wall message to send around. Leave empty for the
* default wall message */
char wall_message[];
-} __attribute__((packed));
+} _sd_packed_;
/* The scheme is very simple:
*