blob: 4b589daec2f41872d69a54f26693ac73efd4ffea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- ./tools/blktap2/include/blktaplib.h.orig
+++ ./tools/blktap2/include/blktaplib.h
@@ -198,7 +198,9 @@
} msg_lock_t;
#define READ 0
+#ifndef WRITE
#define WRITE 1
+#endif
/*Control Messages between manager and tapdev*/
#define CTLMSG_PARAMS 1
--- ./tools/blktap/lib/blktaplib.h.orig
+++ ./tools/blktap/lib/blktaplib.h
@@ -196,7 +196,9 @@
} msg_pid_t;
#define READ 0
+#ifndef WRITE
#define WRITE 1
+#endif
/*Control Messages between manager and tapdev*/
#define CTLMSG_PARAMS 1
|