aboutsummaryrefslogtreecommitdiff
path: root/riscv/sim.h
diff options
context:
space:
mode:
authornmeum <soeren+github@soeren-tempel.net>2019-03-12 17:42:29 +0100
committerAndrew Waterman <aswaterman@gmail.com>2019-03-12 09:42:29 -0700
commitc01631de5027b211a374a01cbbd046a11926df0e (patch)
tree394a8bd19f8d5f0ead73c725f8f48c35a911dcfd /riscv/sim.h
parentf9d2be538b134ac42bf33b4b04e97d182ced5e36 (diff)
downloadspike-c01631de5027b211a374a01cbbd046a11926df0e.zip
spike-c01631de5027b211a374a01cbbd046a11926df0e.tar.gz
spike-c01631de5027b211a374a01cbbd046a11926df0e.tar.bz2
include sys/types.h for suseconds_t (#285)
This fixes the build on Alpine Linux (which uses musl libc).
Diffstat (limited to 'riscv/sim.h')
-rw-r--r--riscv/sim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/sim.h b/riscv/sim.h
index 6521573..1bb28cb 100644
--- a/riscv/sim.h
+++ b/riscv/sim.h
@@ -12,6 +12,7 @@
#include <vector>
#include <string>
#include <memory>
+#include <sys/types.h>
class mmu_t;
class remote_bitbang_t;