diff --git a/src/opus_multistream_encoder.c b/src/opus_multistream_encoder.c
index a1cd0f5ce294efc491fc16447df980b8d5d78dfc..9a7ea95ed9b6ec344cbff466a6dba965d5051b9f 100644
--- a/src/opus_multistream_encoder.c
+++ b/src/opus_multistream_encoder.c
@@ -72,9 +72,10 @@ typedef void (*opus_copy_channel_in_func)(
 
 typedef enum {
   MAPPING_TYPE_NONE,
-  MAPPING_TYPE_SURROUND,
+  MAPPING_TYPE_SURROUND
 #ifdef ENABLE_EXPERIMENTAL_AMBISONICS
-  MAPPING_TYPE_AMBISONICS,
+  ,  /* Do not include comma at end of enumerator list */
+  MAPPING_TYPE_AMBISONICS
 #endif
 } MappingType;