summaryrefslogtreecommitdiff
path: root/src/shared/spawn-polkit-agent.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-07-23 11:20:39 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-07-23 11:39:45 +0200
commit3e24e8cd647478b3d161f1887785132e334e5df5 (patch)
tree4b8a5245b590c84e103d79bf63c518a25cb23a74 /src/shared/spawn-polkit-agent.c
parent3bd6a01c0190655f50fb7f171c00f1c4c48a4069 (diff)
downloadsystemd-3e24e8cd647478b3d161f1887785132e334e5df5.tar.gz
Move fork_agent() into shared/
Currently it's only used in two places in src/shared/, so the function was already included just once in compiled code. But it seems appropriate to move it there anyway, because library code should have no need to fork agents, so it doesn't belong in basic/.
Diffstat (limited to 'src/shared/spawn-polkit-agent.c')
-rw-r--r--src/shared/spawn-polkit-agent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/spawn-polkit-agent.c b/src/shared/spawn-polkit-agent.c
index a0024eb2ea..cd0b4601da 100644
--- a/src/shared/spawn-polkit-agent.c
+++ b/src/shared/spawn-polkit-agent.c
@@ -6,6 +6,7 @@
#include <stdlib.h>
#include <unistd.h>
+#include "exec-util.h"
#include "fd-util.h"
#include "io-util.h"
#include "log.h"