summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDmitry Chestnykh <dm.chestnykh@gmail.com>2024-05-16 12:17:08 +0300
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-16 11:31:38 +0200
commit1e704165de08072edd3a4d891f371bf4ae5e9f03 (patch)
tree8e3a6aab5c787fc1bcbe954a73b7075251659e43 /include
parent186878405324e96f61d896a149f623e0c792c972 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/net/ppp_defs.h2
1 files changed, 1 insertions, 1 deletions
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 <time.h>
-#include <asm/types.h>
+#include <sys/types.h>
#include <linux/ppp_defs.h>
#endif /* net/ppp_defs.h */