aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm_utils.h3
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;