summaryrefslogtreecommitdiffstats
path: root/src/home
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-12-24 16:52:08 +0100
committerMike Yuan <me@yhndnzj.com>2024-12-24 16:56:21 +0100
commitc415a4816c22de472fc6c4728422684fe7d3956e (patch)
treefd39d80d4df2f757043f96aa1b956f016d9af843 /src/home
parentbasic/missing_threads: drop glibc < 2.16 check (diff)
downloadsystemd-c415a4816c22de472fc6c4728422684fe7d3956e.tar.xz
systemd-c415a4816c22de472fc6c4728422684fe7d3956e.zip
tree-wide: drop inclusion of linux/memfd.h
We carry our own definitions in missing_mman.h, and otherwise sys/mman.h is employed. Let's drop the unneeded detection/inclusion of linux/memfd.h hence.
Diffstat (limited to 'src/home')
-rw-r--r--src/home/homed-home.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/home/homed-home.c b/src/home/homed-home.c
index fd9d90be90..a6f99713dd 100644
--- a/src/home/homed-home.c
+++ b/src/home/homed-home.c
@@ -1,9 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
-#if HAVE_LINUX_MEMFD_H
-#include <linux/memfd.h>
-#endif
-
#include <sys/mman.h>
#include <sys/quota.h>
#include <sys/vfs.h>