mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 11:55:44 +03:00
shutdown: as sd-shutdown.h is a drop-in header it should not include any other headers of ours
This commit is contained in:
parent
0095c45415
commit
2cd33d82b6
@ -26,7 +26,13 @@
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "_sd-common.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _sd_packed_
|
||||
# define _sd_packed_ __attribute__((packed))
|
||||
#endif
|
||||
|
||||
typedef enum sd_shutdown_mode {
|
||||
SD_SHUTDOWN_NONE = 0,
|
||||
@ -107,4 +113,8 @@ struct sd_shutdown_command {
|
||||
* anybody.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user