Thread (24 messages) 24 messages, 7 authors, 2011-08-09

Re: [PATCH 11/12] headers, scc: Add missing #include to <linux/scc.h>

From: walter harms <hidden>
Date: 2011-08-09 07:14:37
Also in: linux-hams


Am 08.08.2011 20:20, schrieb Ben Hutchings:
On Mon, Aug 08, 2011 at 02:24:29PM +0100, Ben Hutchings wrote:
quoted
<linux/scc.h> uses SIOCDEVPRIVATE, defined in <linux/sockios.h>.
 
Unfortunately SIOCDEVPRIVATE is also defined elsewhere by glibc,
so including <linux/sockios.h> can result in duplicate definitions.
So I don't think we can make this change.
Maybe that is something the glibc and the kernel guys should know about.
Did someone tell them ? Is that problem documented somewhere ?

re,
 wh

Ben.
quoted
Signed-off-by: Ben Hutchings <redacted>
---
This file isn't listed in MAINTAINERS but appears to be associated with
one of the hamradio drivers; please could one of the hams claim it?

Ben.

 include/linux/scc.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/scc.h b/include/linux/scc.h
index 3495bd9..d5916e5 100644
--- a/include/linux/scc.h
+++ b/include/linux/scc.h
@@ -3,6 +3,7 @@
 #ifndef	_SCC_H
 #define	_SCC_H
 
+#include <linux/sockios.h>
 
 /* selection of hardware types */
 
-- 
1.7.5.4

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help