diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-25 22:32:30 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-26 01:24:38 +0100 |
commit | b1d4f8e154bf61b5de1b27461ef8e9c8c5e838a1 (patch) | |
tree | ca7a42f7604a837da6cfb80682d737beee34a219 /src/network | |
parent | c004493cdefc1f43a3956ca529e8070f8d70be56 (diff) |
util-lib: split out user/group/uid/gid calls into user-util.[ch]
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-netdev-tuntap.c | 3 | ||||
-rw-r--r-- | src/network/networkd.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/network/networkd-netdev-tuntap.c b/src/network/networkd-netdev-tuntap.c index 3096c4f72a..d04bb9bd9f 100644 --- a/src/network/networkd-netdev-tuntap.c +++ b/src/network/networkd-netdev-tuntap.c @@ -23,8 +23,9 @@ #include <net/if.h> #include <linux/if_tun.h> -#include "networkd-netdev-tuntap.h" #include "fd-util.h" +#include "networkd-netdev-tuntap.h" +#include "user-util.h" #define TUN_DEV "/dev/net/tun" diff --git a/src/network/networkd.c b/src/network/networkd.c index e6259043fa..1a17847715 100644 --- a/src/network/networkd.c +++ b/src/network/networkd.c @@ -20,9 +20,11 @@ ***/ #include "sd-daemon.h" + #include "capability.h" -#include "signal-util.h" #include "networkd.h" +#include "signal-util.h" +#include "user-util.h" int main(int argc, char *argv[]) { _cleanup_manager_free_ Manager *m = NULL; |