From eb40a806eb564fd30b7e27105f3c00986b715d7c Mon Sep 17 00:00:00 2001 From: Alessandro Rubini <rubini@gnudd.com> Date: Mon, 30 Jul 2012 23:47:05 +0200 Subject: [PATCH] <linux/sdb.h>: fixed header inclusion for kernel mode --- kernel/include/linux/sdb.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/include/linux/sdb.h b/kernel/include/linux/sdb.h index 0539587..9d75254 100644 --- a/kernel/include/linux/sdb.h +++ b/kernel/include/linux/sdb.h @@ -3,7 +3,11 @@ */ #ifndef __SDB_H__ #define __SDB_H__ +#ifdef __KERNEL__ +#include <linux/types.h> +#else #include <stdint.h> +#endif /* * All structures are 64 bytes long and are expected -- GitLab