summaryrefslogtreecommitdiffstats
path: root/src/shared/smack-util.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-05-28 11:36:40 +0200
committerKay Sievers <kay@vrfy.org>2014-05-28 11:36:40 +0200
commitd2edfae0f9bdbecf6a8518e2a5bcf06f470e0d9e (patch)
tree10cddc44db05b62c3d57b9b741eef95eef001aae /src/shared/smack-util.c
parentNEWS: mention that we need a new user systemd-timesync (diff)
downloadsystemd-d2edfae0f9bdbecf6a8518e2a5bcf06f470e0d9e.tar.xz
systemd-d2edfae0f9bdbecf6a8518e2a5bcf06f470e0d9e.zip
build-sys: use glibc's xattr support instead of requiring libattr
Diffstat (limited to 'src/shared/smack-util.c')
-rw-r--r--src/shared/smack-util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shared/smack-util.c b/src/shared/smack-util.c
index df194e0844..8f83562bf6 100644
--- a/src/shared/smack-util.c
+++ b/src/shared/smack-util.c
@@ -23,9 +23,7 @@
#include <unistd.h>
#include <string.h>
-#ifdef HAVE_XATTR
-#include <attr/xattr.h>
-#endif
+#include <sys/xattr.h>
#include "smack-util.h"