chiark / gitweb /
missing: define LO_FLAGS_PARTSCAN if it is missing
[elogind.git] / src / shared / missing.h
index 4e63fb9ac450a627adac1eb8e2788770036c2b80..ce4a6e36f45ed031af0740305f695d85db8756f4 100644 (file)
@@ -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