1
0
mirror of https://github.com/raspberrypi/pico-sdk.git synced 2025-08-09 04:22:44 +03:00

Workaround gcc/newlib issue on Ubuntu 24 (#1863)

This commit is contained in:
Andrew Scheller
2024-08-23 16:59:36 +01:00
committed by GitHub
parent aa8cf17732
commit 7d5d9276a8
5 changed files with 15 additions and 0 deletions

View File

@@ -5,6 +5,9 @@
*/
#include <stdio.h>
// Include sys/types.h before inttypes.h to work around issue with
// certain versions of GCC and newlib which causes omission of PRIu64
#include <sys/types.h>
#include <inttypes.h>
#include "pico/stdlib.h"
#include "pico/bit_ops.h"