[libdvbpsi-devel] ATSC ETT Table: fix compilation

Jean-Paul Saman git at videolan.org
Wed May 30 16:17:56 CEST 2012


libdvbpsi | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Wed May 30 16:14:50 2012 +0200| [ff9c72ee5629bb1c37be46da17a8c5deeabdd072] | committer: Jean-Paul Saman

ATSC ETT Table: fix compilation

Include config.h as first include file. It comes with some defines needed
for compilation.

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=ff9c72ee5629bb1c37be46da17a8c5deeabdd072
---

 configure.ac          |    2 +-
 src/tables/atsc_ett.c |    3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index b590ef8..6e93c70 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@ AC_ARG_ENABLE(debug,
 esac],[debug=false])
 if test "$debug" = "true"
 then
-  CFLAGS_dist="${CFLAGS_dist} -g -ggdb3"
+  CFLAGS_dist="${CFLAGS_dist} -ggdb3"
 fi
 
 dnl --enable-release
diff --git a/src/tables/atsc_ett.c b/src/tables/atsc_ett.c
index a2ec53c..fe05b0f 100644
--- a/src/tables/atsc_ett.c
+++ b/src/tables/atsc_ett.c
@@ -20,6 +20,9 @@ atsc_ett.c
 Decode PSIP Extended Text Table.
 
 */
+
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdbool.h>



More information about the libdvbpsi-devel mailing list