mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
make it compile with clang21.1.1: llvm_libc_interface changes
This commit is contained in:
parent
6feb9b9b01
commit
571d2eda94
2 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue