[Stgt-devel] patch for compiling on fc3 x86_64 with gcc 3.4.x

Ming Zhang mingz at ele.uri.edu
Tue Sep 13 19:18:16 CEST 2005


--=-i2sGR/+Fc7N0hbzBGBGy
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

here it is.

Ming


--=-i2sGR/+Fc7N0hbzBGBGy
Content-Disposition: attachment; filename=tgt.compile.patch
Content-Type: text/x-patch; name=tgt.compile.patch; charset=UTF-8
Content-Transfer-Encoding: 7bit

Index: iscsi/usr/plain.c
===================================================================
--- iscsi/usr/plain.c	(revision 76)
+++ iscsi/usr/plain.c	(working copy)
@@ -16,6 +16,7 @@
 #include <sys/stat.h>
 #include <sys/socket.h>
 #include <sys/un.h>
+#include <linux/types.h>
 #include <linux/netlink.h>
 
 #include <netinet/in.h>
Index: iscsi/usr/ctldev.c
===================================================================
--- iscsi/usr/ctldev.c	(revision 76)
+++ iscsi/usr/ctldev.c	(working copy)
@@ -11,7 +11,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <dirent.h>
-
+#include <linux/types.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/stat.h>

--=-i2sGR/+Fc7N0hbzBGBGy--




More information about the stgt mailing list