From bf7bff6c476e3c1b248c45e6084719ed33061d13 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 10 Feb 2003 20:08:59 +0000 Subject: [PATCH] Small compile fixes Original commit message from CVS: Small compile fixes --- tests/Makefile.am | 2 ++ tests/memchunk/gmemchunktest.c | 3 ++- tests/memchunk/gstmemchunk.c | 3 ++- tests/memchunk/gstmemchunktest.c | 3 ++- tests/muxing/case1.c | 1 + tests/threadstate/threadstate1.c | 1 + tests/threadstate/threadstate2.c | 1 + tests/threadstate/threadstate3.c | 1 + tests/threadstate/threadstate4.c | 1 + tests/threadstate/threadstate5.c | 1 + 10 files changed, 14 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index e0ff28e..b6393e3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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 diff --git a/tests/memchunk/gmemchunktest.c b/tests/memchunk/gmemchunktest.c index 8dadc54..961d6c7 100644 --- a/tests/memchunk/gmemchunktest.c +++ b/tests/memchunk/gmemchunktest.c @@ -1,5 +1,6 @@ -#include #include /* strerror */ +#include /* strerror */ +#include #define MAX_THREADS 100 diff --git a/tests/memchunk/gstmemchunk.c b/tests/memchunk/gstmemchunk.c index d7ec476..a8ad1f6 100644 --- a/tests/memchunk/gstmemchunk.c +++ b/tests/memchunk/gstmemchunk.c @@ -1,5 +1,6 @@ -#include "gstmemchunk.h" #include /* memset */ +#include /* memset */ +#include "gstmemchunk.h" #ifdef __SMP__ #define CHUNK_LOCK "lock ; " diff --git a/tests/memchunk/gstmemchunktest.c b/tests/memchunk/gstmemchunktest.c index 853c537..79813a6 100644 --- a/tests/memchunk/gstmemchunktest.c +++ b/tests/memchunk/gstmemchunktest.c @@ -1,6 +1,7 @@ +#include /* strerror */ +#include /* strerror */ #include #include "gstmemchunk.h" -#include /* strerror */ #define MAX_THREADS 100 diff --git a/tests/muxing/case1.c b/tests/muxing/case1.c index f9e9a82..ca8b8f5 100644 --- a/tests/muxing/case1.c +++ b/tests/muxing/case1.c @@ -1,3 +1,4 @@ +#include #include gboolean playing = TRUE; diff --git a/tests/threadstate/threadstate1.c b/tests/threadstate/threadstate1.c index 1c3136c..b1f8949 100644 --- a/tests/threadstate/threadstate1.c +++ b/tests/threadstate/threadstate1.c @@ -1,3 +1,4 @@ +#include #include /* this pipeline is: diff --git a/tests/threadstate/threadstate2.c b/tests/threadstate/threadstate2.c index 816bfcf..aafc6d7 100644 --- a/tests/threadstate/threadstate2.c +++ b/tests/threadstate/threadstate2.c @@ -1,3 +1,4 @@ +#include #include /* this pipeline is: diff --git a/tests/threadstate/threadstate3.c b/tests/threadstate/threadstate3.c index 475b3d2..ab9c735 100644 --- a/tests/threadstate/threadstate3.c +++ b/tests/threadstate/threadstate3.c @@ -1,3 +1,4 @@ +#include #include /* this pipeline is: diff --git a/tests/threadstate/threadstate4.c b/tests/threadstate/threadstate4.c index 0258d61..cf47638 100644 --- a/tests/threadstate/threadstate4.c +++ b/tests/threadstate/threadstate4.c @@ -1,3 +1,4 @@ +#include #include /* this pipeline is: diff --git a/tests/threadstate/threadstate5.c b/tests/threadstate/threadstate5.c index 1e96c7c..bf1ae0c 100644 --- a/tests/threadstate/threadstate5.c +++ b/tests/threadstate/threadstate5.c @@ -1,3 +1,4 @@ +#include #include /* this pipeline is: -- 2.7.4