mp3stream.cpp:77: error: ‘SHRT_MAX’ was not declared in this
Brought to you by:
mhalttunen,
pabs3
Trying to build in Gentoo Linux, fails with the following error:
mp3stream.cpp: In function ‘short int MadFixedToSshort(mad_fixed_t)’:
mp3stream.cpp:77: error: ‘SHRT_MAX’ was not declared in this scope
mp3stream.cpp:79: error: ‘SHRT_MAX’ was not declared in this scope
including "#include <climits>" in mp3stream.cpp the issue
This was fixed in commit d344e71b587aaf56e5899a45b84ed2667a88097f