summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/irda.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/irda.h b/include/linux/irda.h
index 948488ece2a8..95dee174cdc5 100644
--- a/include/linux/irda.h
+++ b/include/linux/irda.h
@@ -25,7 +25,11 @@
#ifndef KERNEL_IRDA_H
#define KERNEL_IRDA_H
-#include <linux/socket.h> /* only for sa_family_t */
+/* Please do *not* add any #include in this file, this file is
+ * included as-is in user space.
+ * Please fix the calling file to properly included needed files before
+ * this one, or preferably to include <net/irda/irda.h> instead.
+ * Jean II */
/* Hint bit positions for first hint byte */
#define HINT_PNP 0x01