Messages in this thread Patch in this message | | | From | Masahiro Yamada <> | Subject | [PATCH] linux/scc.h: make uapi linux/scc.h self-contained | Date | Fri, 8 Nov 2019 14:58:08 +0900 |
| |
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.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> ---
include/uapi/linux/scc.h | 1 + usr/include/Makefile | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/scc.h b/include/uapi/linux/scc.h index c5bc7f747755..947edb17ce9d 100644 --- a/include/uapi/linux/scc.h +++ b/include/uapi/linux/scc.h @@ -4,6 +4,7 @@ #ifndef _UAPI_SCC_H #define _UAPI_SCC_H +#include <linux/sockios.h> /* selection of hardware types */ diff --git a/usr/include/Makefile b/usr/include/Makefile index 107d04bd5ee3..b469e39eafc8 100644 --- a/usr/include/Makefile +++ b/usr/include/Makefile @@ -41,7 +41,6 @@ header-test- += linux/omapfb.h header-test- += linux/patchkey.h header-test- += linux/phonet.h header-test- += linux/reiserfs_xattr.h -header-test- += linux/scc.h header-test- += linux/sctp.h header-test- += linux/signal.h header-test- += linux/sysctl.h -- 2.17.1
| |