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
4#ifndef _UAPI_SCC_H4#ifndef _UAPI_SCC_H
5#define _UAPI_SCC_H5#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