Skip to content

Commit 8953e1b

Browse files
committed
#520 - workaround gcc/newlib issue on Ubuntu 24
1 parent 4b39afb commit 8953e1b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

system/rand/rand.c

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
*/
66

77
#include <stdio.h>
8+
// Include sys/types.h before inttypes.h to work around issue with
9+
// certain versions of GCC and newlib which causes omission of PRIx64
10+
#include <sys/types.h>
811
#include <inttypes.h>
912

1013
#include "pico/stdlib.h"

0 commit comments

Comments
 (0)