summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-19 01:10:14 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-19 01:10:14 +0100
commit5f381b355a95b953654e46ba3ccdc81bdec165ea (patch)
tree95147f79a8c629753503a6bc7955dad77c60ee0d /src
parentc4a7b2c56e907e39fa9a6cdb21c1970464abd44e (diff)
missing: define LO_FLAGS_PARTSCAN if it is missing
https://bugs.freedesktop.org/show_bug.cgi?id=76335
Diffstat (limited to 'src')
-rw-r--r--src/shared/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index 4e63fb9ac4..ce4a6e36f4 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -365,3 +365,7 @@ static inline int setns(int fd, int nstype) {
return syscall(__NR_setns, fd, nstype);
}
#endif
+
+#if !HAVE_DECL_LO_FLAGS_PARTSCAN
+#define LO_FLAGS_PARTSCAN 8
+#endif