chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
btrfs-util: support recursive removal of read-only subvolumes
[elogind.git]
/
src
/
shared
/
spawn-polkit-agent.c
diff --git
a/src/shared/spawn-polkit-agent.c
b/src/shared/spawn-polkit-agent.c
index 8f259a8f39c5254a3fb3fc61bbd679bf79bd9bbf..4db249e1cac8fd298fe072c15116d2925581f061 100644
(file)
--- a/
src/shared/spawn-polkit-agent.c
+++ b/
src/shared/spawn-polkit-agent.c
@@
-19,18
+19,15
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdlib.h>
#include <unistd.h>
-#include <string.h>
-#include <sys/prctl.h>
#include <signal.h>
#include <signal.h>
-#include <fcntl.h>
#include <errno.h>
#include <poll.h>
#include "log.h"
#include "util.h"
#include <errno.h>
#include <poll.h>
#include "log.h"
#include "util.h"
+#include "process-util.h"
#include "spawn-polkit-agent.h"
#ifdef ENABLE_POLKIT
#include "spawn-polkit-agent.h"
#ifdef ENABLE_POLKIT