summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-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