[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 08 Aug 2011 14:30:29 +0100
From: Ben Hutchings <ben@...adent.org.uk>
To: Petr Vandrovec <petr@...drovec.name>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] headers, ncp: Add missing #include to <linux/ncp_fs.h> for
userland
<linux/ncp_fs.h> uses size_t, defined for userland by <stddef.h>.
Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
---
include/linux/ncp_fs.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/linux/ncp_fs.h b/include/linux/ncp_fs.h
index e13eefe..e220c8a 100644
--- a/include/linux/ncp_fs.h
+++ b/include/linux/ncp_fs.h
@@ -16,6 +16,10 @@
#include <linux/ipx.h>
#include <linux/ncp_no.h>
+#ifndef __KERNEL__
+#include <stddef.h>
+#endif
+
/*
* ioctl commands
*/
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists