Skip to content

Commit

Permalink
#520 - workaround gcc/newlib issue on Ubuntu 24
Browse files Browse the repository at this point in the history
  • Loading branch information
kilograham committed Aug 19, 2024
1 parent 4b39afb commit 8953e1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system/rand/rand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 PRIx64
#include <sys/types.h>
#include <inttypes.h>

#include "pico/stdlib.h"
Expand Down

0 comments on commit 8953e1b

Please sign in to comment.