Skip to contentSkip to conversation

headers, ncp: Add missing #include to <linux/ncp_fs.h> for userland

PATCH New Ben Hutchings 1 participant 1 message Aug 8, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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>.

---
 include/linux/ncp_fs.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
include/linux/ncp_fs.h +4 -0
index e13eefe..e220c8a 100644
@@ -16,6 +16,10 @@
 #include <linux/ipx.h>
 #include <linux/ncp_no.h>
 
+#ifndef __KERNEL__
+#include <stddef.h>
+#endif
+
 /*
  * ioctl commands
  */
Signature · 1 line
1.7.5.4