shutdown: as sd-shutdown.h is a drop-in header it should not include any other headers of ours

This commit is contained in:
Lennart Poettering 2013-11-07 16:44:59 +01:00
parent 0095c45415
commit 2cd33d82b6

View file

@ -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