On Thu, Feb 10, 2022 at 3:11 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote: > > linux/android/binder.h and linux/android/binderfs.h are currently > excluded from the UAPI compile-test because of the errors like follows: > > HDRTEST usr/include/linux/android/binder.h > In file included from <command-line>: > ./usr/include/linux/android/binder.h:291:9: error: unknown type name ‘pid_t’ > 291 | pid_t sender_pid; > | ^~~~~ > ./usr/include/linux/android/binder.h:292:9: error: unknown type name ‘uid_t’ > 292 | uid_t sender_euid; > | ^~~~~ > > The errors can be fixed by replacing {pid,uid}_t with __kernel_{pid,uid}_t. > > Then, remove the no-header-test entries from user/include/Makefile. > > Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx> Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>