Skip to content

Commit

Permalink
Merge pull request #3360 from pocke/Fix_cross_compile_issue_with_newl…
Browse files Browse the repository at this point in the history
…ib_on_Ubuntu_24_04

Fix cross-compile issue with newlib on Ubuntu 24.04
  • Loading branch information
kddnewton authored Jan 2, 2025
2 parents 7262d09 + 61ebe51 commit c628563
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/prism/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
* some platforms they aren't included unless this is already defined.
*/
#define __STDC_FORMAT_MACROS
// 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>

/**
Expand Down

0 comments on commit c628563

Please sign in to comment.