diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-12-04 08:26:09 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-12-04 10:00:34 +0100 |
commit | 36dd5ffd5d83dc9ee7fa22514eb5f9068f882beb (patch) | |
tree | 8ee43d311bdc6d491f4ea249db97d3b0f5a32b58 /src/basic | |
parent | missing: move char{16,32}_t definitions to missing_type.h (diff) | |
download | systemd-36dd5ffd5d83dc9ee7fa22514eb5f9068f882beb.tar.xz systemd-36dd5ffd5d83dc9ee7fa22514eb5f9068f882beb.zip |
util: drop missing.h from util.h
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/capability-util.h | 1 | ||||
-rw-r--r-- | src/basic/missing_syscall.h | 2 | ||||
-rw-r--r-- | src/basic/time-util.c | 1 | ||||
-rw-r--r-- | src/basic/util.h | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/src/basic/capability-util.h b/src/basic/capability-util.h index e0e0b1c0fa..02c7d5c3e2 100644 --- a/src/basic/capability-util.h +++ b/src/basic/capability-util.h @@ -7,6 +7,7 @@ #include <sys/types.h> #include "macro.h" +#include "missing_capability.h" #include "util.h" #define CAP_ALL (uint64_t) -1 diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 5060a3f6ad..b009ea5bfa 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -3,6 +3,8 @@ /* Missing glibc definitions to access certain kernel APIs */ +#include <fcntl.h> +#include <sys/syscall.h> #include <sys/types.h> #include "missing_keyctl.h" diff --git a/src/basic/time-util.c b/src/basic/time-util.c index f1f52f1beb..12c1fc71df 100644 --- a/src/basic/time-util.c +++ b/src/basic/time-util.c @@ -20,6 +20,7 @@ #include "io-util.h" #include "log.h" #include "macro.h" +#include "missing.h" #include "parse-util.h" #include "path-util.h" #include "process-util.h" diff --git a/src/basic/util.h b/src/basic/util.h index 43f4081190..01118bb895 100644 --- a/src/basic/util.h +++ b/src/basic/util.h @@ -25,7 +25,6 @@ #include "format-util.h" #include "macro.h" -#include "missing.h" #include "time-util.h" size_t page_size(void) _pure_; |