Commit 0a7bb540 authored by Julien Olivain's avatar Julien Olivain
Browse files

fesvr: fix compilation with gcc 13

Compiling spike with gcc 13 (for example, included in Fedora 38
prerelease) fails with error:

    In file included from fesvr/syscall.h:6,
                     from fesvr/syscall.cc:4:
    fesvr/device.h:15:30: error: ‘uint64_t’ was not declared in this scope
       15 |   typedef std::function<void(uint64_t)> callback_t;
          |                              ^~~~~~~~

This is due to a gcc header dependency change. See for reference:
https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes



This commit explicitly adds the missing <cstdint> header inclusion
to fix this build failure.

Signed-off-by: default avatarJulien Olivain <ju.o@free.fr>
parent a35865f0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment