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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -4,6 +4,7 @@ · 3 unmodified lines | |||
| 4 | #ifndef _UAPI_SCC_H | 4 | #ifndef _UAPI_SCC_H |
| 5 | #define _UAPI_SCC_H | 5 | #define _UAPI_SCC_H |
| 6 | 6 | ||
| 7 | #include <linux/sockios.h> | ||
| 7 | 8 | ||
| 8 | /* selection of hardware types */ | 9 | /* selection of hardware types */ |
| 9 | 10 | ||