summaryrefslogtreecommitdiffstats
path: root/ext/mplex
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-03-21 14:50:41 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-03-21 14:50:41 +0000
commit5f1bb9fd9cb04e9c54ee9f80600a3458e5854d44 (patch)
tree257c73c53447c039fcec1403cc6127c33823c211 /ext/mplex
parent29d918352b94957160a9be04dac076f2aca2c5d7 (diff)
downloadgst-plugins-bad-5f1bb9fd9cb04e9c54ee9f80600a3458e5854d44.tar.gz
gst-plugins-bad-5f1bb9fd9cb04e9c54ee9f80600a3458e5854d44.tar.bz2
gst-plugins-bad-5f1bb9fd9cb04e9c54ee9f80600a3458e5854d44.zip
configure.ac: Check if the compiler supports do { } while (0) macros. This fixes a warning when compiling with g++ 4....
Original commit message from CVS: * configure.ac: Check if the compiler supports do { } while (0) macros. This fixes a warning when compiling with g++ 4.3, resulting in a build failure because of -Werror. * ext/mpeg2enc/gstmpeg2encpicturereader.cc: * ext/mplex/gstmplex.cc: Include <string.h> for memcpy and friends to fix the build with gcc 4.3. * tests/check/Makefile.am: Remove trailing backslash.
Diffstat (limited to 'ext/mplex')
-rw-r--r--ext/mplex/gstmplex.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc
index 53688235..e9535fe8 100644
--- a/ext/mplex/gstmplex.cc
+++ b/ext/mplex/gstmplex.cc
@@ -55,6 +55,8 @@
#include "config.h"
#endif
+#include <string.h>
+
#include "gstmplex.hh"
#include "gstmplexoutputstream.hh"
#include "gstmplexibitstream.hh"