summaryrefslogtreecommitdiff
path: root/src/basic/missing.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2015-10-18 12:15:10 +0200
committerDavid Herrmann <dh.herrmann@googlemail.com>2015-10-18 12:15:10 +0200
commit606601ddcac15f5ade4f6840fd04d6f26acce2f4 (patch)
treeda1d097a72e2479070d86fa652c03c3d36ff5ff7 /src/basic/missing.h
parenteacb22c21b31bba5d0387982c6b0b4faa452cb5e (diff)
parent9806e87da22d0025d7c427907202e5751a6b5989 (diff)
Merge pull request #1595 from poettering/proxy-fixes
bus proxy fixes, and more
Diffstat (limited to 'src/basic/missing.h')
-rw-r--r--src/basic/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 5fb9951a84..70d6c8308e 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -252,6 +252,10 @@ static inline int getrandom(void *buffer, size_t count, unsigned flags) {
#define BTRFS_SEARCH_ARGS_BUFSIZE (4096 - sizeof(struct btrfs_ioctl_search_key))
#endif
+#ifndef BTRFS_QGROUP_LEVEL_SHIFT
+#define BTRFS_QGROUP_LEVEL_SHIFT 48
+#endif
+
#ifndef HAVE_LINUX_BTRFS_H
struct btrfs_ioctl_vol_args {
int64_t fd;