diff --git a/reboot.c b/reboot.c index 3656c86a..c8cc71f8 100644 --- a/reboot.c +++ b/reboot.c @@ -29,6 +29,10 @@ #include #include +#ifndef RB_SW_SUSPEND /* Since Linux 2.5.18, but not in GLIBC until 2.19 */ +#define RB_SW_SUSPEND 0xd000fce2 +#endif + typedef enum { CMD_UNKNOWN = -1, CMD_REBOOT = 0,