Index: media/BUILD.gn
--- media/BUILD.gn.orig
+++ media/BUILD.gn
@@ -107,6 +107,9 @@ config("media_config") {
       defines += [ "DLOPEN_PULSEAUDIO" ]
     }
   }
+  if (use_sndio) {
+    defines += [ "USE_SNDIO" ]
+  }
 }
 
 # Internal grouping of the configs necessary to support sub-folders having their
