mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 12:11:26 +00:00
scst: Fix kernel 2.6.36 build
Avoid that compilation fails with the following error message: include/linux/slub_def.h:246: error: conflicting types for ‘kmalloc’ include/scst/backport.h:458: error: implicit declaration of function ‘kmalloc’ git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6688 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <linux/writeback.h> /* sync_page_range() */
|
||||
#include <linux/slab.h> /* kmalloc() */
|
||||
#include <linux/writeback.h> /* sync_page_range() */
|
||||
|
||||
/* <asm-generic/barrier.h> */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user