chiark / gitweb /
tmpfiles: remove spurious include of <sys/capability.h>
authorFilipe Brandenburger <filbranden@google.com>
Tue, 23 Dec 2014 18:38:44 +0000 (10:38 -0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Dec 2014 15:56:21 +0000 (10:56 -0500)
It does not use any functions from libcap directly. The CAP_MKNOD constant in
use by this file comes from <linux/capability.h> imported through "missing.h".

Tested that "systemd-tmpfiles" builds cleanly and works after this change.

src/tmpfiles/tmpfiles.c

index d40bd96f1b4169fc1f6c55cfcb0eeec42fefc342..44ea51e26b61d9f2fa665742858638c9fc750740 100644 (file)
@@ -38,7 +38,6 @@
 #include <sys/param.h>
 #include <glob.h>
 #include <fnmatch.h>
-#include <sys/capability.h>
 #include <sys/xattr.h>
 
 #include "log.h"