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 165469 8b4090b2d434822baf2c246af36b11422020ffa7
parent 165468 e197b100ba539654ffd427b6f4d24187180a2ef0
child 165470 9778322333843bdce7a370f78c08ede6e8b60fc7
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspadenot
bugs928651
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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