chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
missing: define LO_FLAGS_PARTSCAN if it is missing
[elogind.git]
/
src
/
shared
/
missing.h
diff --git
a/src/shared/missing.h
b/src/shared/missing.h
index 4e63fb9ac450a627adac1eb8e2788770036c2b80..ce4a6e36f45ed031af0740305f695d85db8756f4 100644
(file)
--- 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