Comment out <linux/types.h> include
authorWouter Verhelst <w@uter.be>
Fri, 6 Aug 2010 21:14:31 +0000 (17:14 -0400)
committerWouter Verhelst <w@uter.be>
Fri, 6 Aug 2010 21:15:21 +0000 (17:15 -0400)
We provide the necessary bits ourselves anyway, and it doesn't exist on
non-Linux systems.

nbd.h

diff --git a/nbd.h b/nbd.h
index 6eab0ab..451f50c 100644 (file)
--- a/nbd.h
+++ b/nbd.h
@@ -15,7 +15,7 @@
 #ifndef LINUX_NBD_H
 #define LINUX_NBD_H
 
-#include <linux/types.h>
+//#include <linux/types.h>
 
 #define NBD_SET_SOCK   _IO( 0xab, 0 )
 #define NBD_SET_BLKSIZE        _IO( 0xab, 1 )