ATSC ETT Table: fix compilation

[email protected] (Jean-Paul Saman)
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
libdvbpsi | branch: master | Jean-Paul Saman <[email protected]> | 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>

_______________________________________________
libdvbpsi-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libdvbpsi-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.