History

linux/scc.h: make uapi linux/scc.h self-contained

Userspace cannot compile <linux/scc.h> CC usr/include/linux/scc.h.s In file included from <command-line>:32:0: usr/include/linux/scc.h:20:20: error: `SIOCDEVPRIVATE' undeclared here (not in a function) SIOCSCCRESERVED = SIOCDEVPRIVATE, ^~~~~~~~~~~~~~ Include <linux/sockios.h> to make it self-contained, and add it to the compile-test coverage.

Masahiro Yamada committed 6 years ago

Commit 1a183741 parent 87889942 files · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/scc.h+1−0
@@ -4,6 +4,7 @@ · 3 unmodified lines
44 #ifndef _UAPI_SCC_H
55 #define _UAPI_SCC_H
66
7+#include <linux/sockios.h>
78
89 /* selection of hardware types */
910