diff --git a/common/arch.h b/common/arch.h index ccccfa5a..8c2ac1a4 100644 --- a/common/arch.h +++ b/common/arch.h @@ -84,7 +84,8 @@ typedef int bool_t; #define NEED_ALIGN #elif defined(__x86__) || defined(__x86_64__) || \ defined(__AMD64__) || defined(_M_IX86) || defined (_M_AMD64) || \ - defined(__i386__) || defined(__aarch64__) + defined(__i386__) || defined(__aarch64__) || \ + defined(__riscv) #define NO_NEED_ALIGN #else #warning unknown arch diff --git a/sesman/chansrv/sound.c b/sesman/chansrv/sound.c index 92b8ad7c..a5701bf3 100644 --- a/sesman/chansrv/sound.c +++ b/sesman/chansrv/sound.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include