include/uapi/linux/scc.h: include linux/sockios.h

Started by Mikko Rapeli on Oct 15, 2015

Subsystems (1)

Maintainers (1)

DORMANTno replies SUPERSEDED

Status: Superseded by v05 (posted 2016-08-22). [go to v05]

Revision v4 (3 revisions archived).

Revisions (3)
  1. v03
  2. v4 current [diff against previous]
  3. v05 [diff against previous]

open the first message on its own page

Message details and related content
Fixes userspace compilation error:

error: ‘SIOCDEVPRIVATE’ undeclared here (not in a function)
  SIOCSCCRESERVED = SIOCDEVPRIVATE

Signed-off-by: Mikko Rapeli <redacted>
---
 include/uapi/linux/scc.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/scc.h b/include/uapi/linux/scc.h
index 72b6b81..2992b88 100644
--- a/include/uapi/linux/scc.h
+++ b/include/uapi/linux/scc.h
@@ -3,6 +3,7 @@
 #ifndef _UAPI_SCC_H
 #define _UAPI_SCC_H
 
+#include <linux/sockios.h>
 
 /* selection of hardware types */
 
-- 
2.5.0
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help