From 6f11941e5ee62b6db74edf7d09044a9a6ddbbb9b Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Wed, 21 Nov 2007 13:43:37 +0000 Subject: [PATCH] Fix Sun C 5.9 / C99 compatiblity git-svn-id: https://svn.musicpd.org/mpd/trunk@7041 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/pcm_utils.h | 3 +++ 1 file changed, 3 insertions(+) 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;