Bug 928651: #include <assert.h> in cubeb_sndio.c to fix libxul linking r=padenot
authorLandry Breuil <landry@openbsd.org>
Tue, 22 Oct 2013 11:24:30 +0200
changeset 151654 8b4090b2d434822baf2c246af36b11422020ffa7
parent 151653 e197b100ba539654ffd427b6f4d24187180a2ef0
child 151655 9778322333843bdce7a370f78c08ede6e8b60fc7
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewerspadenot
bugs928651
milestone27.0a1
Bug 928651: #include <assert.h> in cubeb_sndio.c to fix libxul linking r=padenot ../../../libcubeb/src/cubeb_sndio.o(.text+0x686): In function `sndio_get_max_channel_count': undefined reference to `assert'
media/libcubeb/src/cubeb_sndio.c
--- a/media/libcubeb/src/cubeb_sndio.c
+++ b/media/libcubeb/src/cubeb_sndio.c
@@ -4,16 +4,17 @@
  * This program is made available under an ISC-style license.  See the
  * accompanying file LICENSE for details.
  */
 #include <poll.h>
 #include <pthread.h>
 #include <sndio.h>
 #include <stdlib.h>
 #include <stdio.h>
+#include <assert.h>
 #include "cubeb/cubeb.h"
 #include "cubeb-internal.h"
 
 #if defined(CUBEB_SNDIO_DEBUG)
 #define DPR(...) fprintf(stderr, __VA_ARGS__);
 #else
 #define DPR(...) do {} while(0)
 #endif