Small compile fixes
authorWim Taymans <wim.taymans@gmail.com>
Mon, 10 Feb 2003 20:08:59 +0000 (20:08 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 10 Feb 2003 20:08:59 +0000 (20:08 +0000)
Original commit message from CVS:
Small compile fixes

tests/Makefile.am
tests/memchunk/gmemchunktest.c
tests/memchunk/gstmemchunk.c
tests/memchunk/gstmemchunktest.c
tests/muxing/case1.c
tests/threadstate/threadstate1.c
tests/threadstate/threadstate2.c
tests/threadstate/threadstate3.c
tests/threadstate/threadstate4.c
tests/threadstate/threadstate5.c

index e0ff28e..b6393e3 100644 (file)
@@ -1,10 +1,12 @@
 
 SUBDIRS = memchunk muxing sched threadstate seeking # bufspeed
 
+if !GST_DISABLE_TRACE
 noinst_PROGRAMS = lat
 
 lat_CFLAGS = $(GST_CFLAGS)
 lat_LDFLAGS = $(GST_LIBS)
+endif
 
 EXTRA_DIST = README
 DIST_SUBDIRS= bufspeed memchunk muxing sched threadstate seeking
index 8dadc54..961d6c7 100644 (file)
@@ -1,5 +1,6 @@
-#include <gst/gst.h>
 #include <string.h>            /* strerror */
+#include <stdlib.h>            /* strerror */
+#include <gst/gst.h>
 
 #define MAX_THREADS  100
 
index d7ec476..a8ad1f6 100644 (file)
@@ -1,5 +1,6 @@
-#include "gstmemchunk.h"
 #include <string.h>            /* memset */
+#include <stdlib.h>            /* memset */
+#include "gstmemchunk.h"
 
 #ifdef __SMP__
 #define CHUNK_LOCK "lock ; "
index 853c537..79813a6 100644 (file)
@@ -1,6 +1,7 @@
+#include <string.h>            /* strerror */
+#include <stdlib.h>            /* strerror */
 #include <gst/gst.h>
 #include "gstmemchunk.h"
-#include <string.h>            /* strerror */
 
 #define MAX_THREADS  100
 
index f9e9a82..ca8b8f5 100644 (file)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <gst/gst.h>
 
 gboolean playing = TRUE;
index 1c3136c..b1f8949 100644 (file)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <gst/gst.h>
 
 /* this pipeline is:
index 816bfcf..aafc6d7 100644 (file)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <gst/gst.h>
 
 /* this pipeline is:
index 475b3d2..ab9c735 100644 (file)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <gst/gst.h>
 
 /* this pipeline is:
index 0258d61..cf47638 100644 (file)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <gst/gst.h>
 
 /* this pipeline is:
index 1e96c7c..bf1ae0c 100644 (file)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <gst/gst.h>
 
 /* this pipeline is: