diff options
author | Avuton Olrich <avuton@gmail.com> | 2007-11-21 13:43:37 +0000 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2007-11-21 13:43:37 +0000 |
commit | 6f11941e5ee62b6db74edf7d09044a9a6ddbbb9b (patch) | |
tree | 545cca353a40a13227791e4afdd4f3349545f2cb /src/pcm_utils.h | |
parent | 6050541d97de4fb55fb62e4ac7d53779e59010c8 (diff) | |
download | mpd-6f11941e5ee62b6db74edf7d09044a9a6ddbbb9b.tar.gz mpd-6f11941e5ee62b6db74edf7d09044a9a6ddbbb9b.tar.xz mpd-6f11941e5ee62b6db74edf7d09044a9a6ddbbb9b.zip |
Fix Sun C 5.9 / C99 compatiblity
git-svn-id: https://svn.musicpd.org/mpd/trunk@7041 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/pcm_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pcm_utils.h b/src/pcm_utils.h index 2c6610a75..0d0e08959 100644 --- a/src/pcm_utils.h +++ b/src/pcm_utils.h @@ -39,6 +39,9 @@ typedef struct _ConvState { mpd_sint32 lastInSampleRate; mpd_sint32 lastOutSampleRate; int error; +#else + /* Strict C99 doesn't allow empty structs */ + void *__padding; #endif } ConvState; |