summaryrefslogtreecommitdiff
blob: 403d6124ad7b305b50cb5820f72c88c4316f98d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- tools/blktap/lib/blktaplib.h.orig	2011-09-21 19:29:30.240868534 +0800
+++ tools/blktap/lib/blktaplib.h	2011-09-21 19:34:21.184868372 +0800
@@ -195,8 +195,13 @@
 	pid_t     pid;
 } msg_pid_t;
 
+#ifndef READ
 #define READ 0
+#endif
+
+#ifndef WRITE
 #define WRITE 1
+#endif
 
 /*Control Messages between manager and tapdev*/
 #define CTLMSG_PARAMS      1