Correct uClibc compilation.
commit1e704165de08072edd3a4d891f371bf4ae5e9f03
authorDmitry Chestnykh <dm.chestnykh@gmail.com>
Thu, 16 May 2024 09:17:08 +0000 (16 12:17 +0300)
committerWaldemar Brodkorb <wbx@openadk.org>
Thu, 16 May 2024 09:31:38 +0000 (16 11:31 +0200)
tree8e3a6aab5c787fc1bcbe954a73b7075251659e43
parent186878405324e96f61d896a149f623e0c792c972
Correct uClibc compilation.

- Include sys/types.h instead of asm/types.h
to prevent types conflict for uClibc typedefs and kernel headers
typedefs.
- Cast 3rd arg of utimensat_time64 syscall to integer type
to avoid compiler's -Wint-conversion error. The error was found
during uClibc compilation for mips32.

Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
include/net/ppp_defs.h
libc/sysdeps/linux/common/utimensat.c