diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-04-06 14:56:03 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:59:13 +0200 |
commit | da4b83e77bc603745cf4a365d7f013301ef7fa89 (patch) | |
tree | 293d9508eeb1f841c71b0b0517287fd398aded82 /src/login/inhibit.c | |
parent | eaca07ccfdf5d7dabc50afc7e539c2413dd69d3e (diff) |
Prep v228: Add remaining updates from upstream (3/3)
Apply remaining fixes and the performed move of utility functions
into their own foo-util.[hc] files on the rest of elogind.
Diffstat (limited to 'src/login/inhibit.c')
-rw-r--r-- | src/login/inhibit.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/login/inhibit.c b/src/login/inhibit.c index bfee1ca06..a8328592f 100644 --- a/src/login/inhibit.c +++ b/src/login/inhibit.c @@ -19,21 +19,27 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#include <fcntl.h> #include <getopt.h> -#include <stdlib.h> #include <stdio.h> +#include <stdlib.h> #include <unistd.h> -#include <fcntl.h> #include "sd-bus.h" -#include "bus-util.h" + +#include "alloc-util.h" #include "bus-error.h" -#include "util.h" -#include "build.h" -#include "strv.h" +#include "bus-util.h" +#include "fd-util.h" #include "formats-util.h" #include "process-util.h" #include "signal-util.h" +#include "strv.h" +#include "user-util.h" +#include "util.h" + +/// Additional includes needed by elogind +#include "musl_missing.h" static const char* arg_what = "idle:sleep:shutdown"; static const char* arg_who = NULL; |