From c12afe04a4fc8f18b0d4e280f973d1cd826e82e0 Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Thu, 13 Apr 2017 07:42:15 +0200 Subject: Prep v228: Remove left-over BTRFS bits. --- src/basic/missing.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/basic/missing.h b/src/basic/missing.h index d539ed00e..a9871f680 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -38,6 +38,8 @@ #include #include +#include "musl_missing.h" + #ifdef HAVE_AUDIT #include #endif @@ -257,6 +259,7 @@ static inline int getrandom(void *buffer, size_t count, unsigned flags) { #define BTRFS_QGROUP_LEVEL_SHIFT 48 #endif +#if 0 /// UNNEEDED by elogind (It can not support BTRFS at all) #ifndef HAVE_LINUX_BTRFS_H struct btrfs_ioctl_vol_args { int64_t fd; @@ -507,6 +510,8 @@ struct btrfs_ioctl_quota_ctl_args { #define BTRFS_SUPER_MAGIC 0x9123683E #endif +#endif // 0 + #ifndef CGROUP_SUPER_MAGIC #define CGROUP_SUPER_MAGIC 0x27e0eb #endif @@ -1024,8 +1029,11 @@ static inline pid_t raw_getpid(void) { #endif } +#if 0 /// UNNEEDED by elogind + #if !HAVE_DECL_RENAMEAT2 + #ifndef __NR_renameat2 # if defined __x86_64__ # define __NR_renameat2 316 @@ -1125,3 +1133,4 @@ static inline key_serial_t request_key(const char *type, const char *description #ifndef KEY_SPEC_USER_KEYRING #define KEY_SPEC_USER_KEYRING -4 #endif +#endif // 0 -- cgit v1.2.3