From 1e704165de08072edd3a4d891f371bf4ae5e9f03 Mon Sep 17 00:00:00 2001 From: Dmitry Chestnykh Date: Thu, 16 May 2024 12:17:08 +0300 Subject: 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 --- include/net/ppp_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/net/ppp_defs.h b/include/net/ppp_defs.h index f8924c4f2..904d1933c 100644 --- a/include/net/ppp_defs.h +++ b/include/net/ppp_defs.h @@ -4,7 +4,7 @@ #define __need_time_t #include -#include +#include #include #endif /* net/ppp_defs.h */ -- cgit v1.2.3