diff --git a/src/sound/mpg123_decoder.h b/src/sound/mpg123_decoder.h index 051473abb..59e1df2ca 100644 --- a/src/sound/mpg123_decoder.h +++ b/src/sound/mpg123_decoder.h @@ -6,7 +6,8 @@ #ifdef HAVE_MPG123 #ifdef _MSC_VER -typedef int ssize_t; +#include +typedef ptrdiff_t ssize_t; #endif #include "mpg123.h"