X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-shutdown.h;fp=src%2Fsystemd%2Fsd-shutdown.h;h=6698c8c5c420de29ae456c3b90948a1c40a1476d;hb=aacf3b483b70b9a9ff16217f6376d143cbfe4636;hp=b8f6a487ecdb391a8a5d7318e3cd6433b311d2e2;hpb=6fc60278a9de47f40a31acf4d0acb08d2500382d;p=elogind.git 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 +#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: *