* [PATCH] headers, ncp: Add missing #include to <linux/ncp_fs.h> for userland
@ 2011-08-08 13:30 Ben Hutchings
0 siblings, 0 replies; only message in thread
From: Ben Hutchings @ 2011-08-08 13:30 UTC (permalink / raw)
To: Petr Vandrovec; +Cc: LKML
<linux/ncp_fs.h> uses size_t, defined for userland by <stddef.h>.
Signed-off-by: Ben Hutchings <ben@decadent.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-08 13:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-08 13:30 [PATCH] headers, ncp: Add missing #include to <linux/ncp_fs.h> for userland Ben Hutchings
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).