blob: 316819afab6900361db5bee961ec3fdea627eb72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
This patch was not upstreamed to qemu as those should probably be
defined in musl libc.
--- ./linux-user/syscall.c.orig
+++ ./linux-user/syscall.c
@@ -114,6 +114,13 @@
#include "qemu.h"
+#ifndef F_SHLCK
+#define F_SHLCK 8
+#endif
+#ifndef F_EXLCK
+#define F_EXLCK 4
+#endif
+
#ifndef CLONE_IO
#define CLONE_IO 0x80000000 /* Clone io context */
#endif
|