You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
1.3 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../musl/pkg_patch/linux/linux-3.4-musl-install-scsi-headers.patch
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./include/scsi/Kbuild.orig 2012-11-24 23:36:53.070293896 +0100
+++ ./include/scsi/Kbuild 2012-11-24 23:42:07.749516830 +0100
@@ -2,3 +2,5 @@
header-y += scsi_netlink_fc.h
header-y += scsi_bsg_fc.h
header-y += fc/
+header-y += scsi.h
+header-y += sg.h
--- ./include/scsi/scsi.h.orig 2012-11-24 23:48:57.019041848 +0100
+++ ./include/scsi/scsi.h 2012-11-24 23:49:48.656295475 +0100
@@ -9,7 +9,10 @@
#define _SCSI_SCSI_H
#include <linux/types.h>
+
+#ifdef __KERNEL__
#include <linux/scatterlist.h>
+#endif /* __KERNEL__ */
struct scsi_cmnd;