mpg123: fix build with msvc
authorTim-Philipp Müller <tim@centricular.com>
Fri, 15 Apr 2016 18:55:03 +0000 (19:55 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 15 Apr 2016 18:55:03 +0000 (19:55 +0100)
commit5e7a4b4d62f257172f049c2748e5437c68bf056a
tree02ce1064f347a07e50c493be44ebc3a13fc587c2
parent777d773c23fc9e8f5ff336ef29059c027406b05b
mpg123: fix build with msvc

Fix syntax errors when compiling against cerbero-provided libmpg123
headers. We do the same as the libmpg123 internal visual studio
build here.

mpg123.h(1378): error C2143: syntax error: missing ')' before '('
mpg123.h(1378): error C2081: 'ssize_t': name in formal parameter list illegal
mpg123.h(1378): error C2143: syntax error: missing ')' before '*'
mpg123.h(1378): error C2091: function returns function
mpg123.h(1378): error C2143: syntax error: missing '{' before '*'
mpg123.h(1378): error C2059: syntax error: ')'
mpg123.h(1379): error C2143: syntax error: missing ')' before '*'
mpg123.h(1379): error C2365: 'off_t': redefinition; previous definition was 'typedef'
...
ext/mpg123/gstmpg123audiodec.h