make it compile with clang21.1.1: llvm_libc_interface changes

This commit is contained in:
Hardy Griech 2025-10-15 17:58:40 +02:00
parent 6feb9b9b01
commit 571d2eda94
2 changed files with 5 additions and 5 deletions

View file

@ -9,15 +9,15 @@
#include <__llvm-libc-common.h>
#include <llvm-libc-types/struct_timespec.h>
#include <llvm-libc-types/struct_tm.h>
#include <llvm-libc-types/time_t.h>
__BEGIN_C_DECLS
struct tm* localtime_r(const time_t* timer, struct tm* buf);
time_t mktime(struct tm *);
__END_C_DECLS
#include_next <time.h>
#endif // _PICO_LLVM_LIBC_TIME_H

View file

@ -7,11 +7,11 @@
#include <math.h>
#include <stdbool.h>
#include <stddef.h>
#include <sys/time.h>
#include <time.h>
#include <llvm-libc-types/ssize_t.h>
#include "include/llvm_libc/time.h"
#include "include/llvm_libc/sys/time.h"
#include "pico/runtime_init.h"
#include "pico/stdio.h"
#include "pico/time.h"