chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
946be29
)
localed: remove spurious include of <sys/capability.h>
author
Filipe Brandenburger
<filbranden@google.com>
Tue, 23 Dec 2014 18:38:46 +0000
(10:38 -0800)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 25 Dec 2014 15:57:08 +0000
(10:57 -0500)
It does not use any functions from libcap directly. The CAP_SYS_ADMIN constant
in use by this file comes from <linux/capability.h> imported through "missing.h".
Tested that "systemd-localed" builds cleanly and works after this change.
src/locale/localed.c
patch
|
blob
|
history
diff --git
a/src/locale/localed.c
b/src/locale/localed.c
index 0aaa63de853c69917579e04d4e2d21bd74a1889c..072354162d96f49a52e9d6f4ce8a61f0a09ca627 100644
(file)
--- a/
src/locale/localed.c
+++ b/
src/locale/localed.c
@@
-23,7
+23,6
@@
#include <errno.h>
#include <string.h>
#include <unistd.h>
-#include <sys/capability.h>
#include "sd-bus.h"