shutdown: as sd-shutdown.h is a drop-in header it should not include any other headers of ours
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user