[svn r214] HAVE_CONFIG added trunk
authorleo_sobral
Fri Dec 08 23:16:15 2006 +0000 (2006-12-08)
branchtrunk
changeset 213631f2cf13501
parent 212 49ba93ca4586
child 214 254e85c43269
[svn r214] HAVE_CONFIG added
gmyth/src/Makefile.am
gmyth/src/gmyth.h
gmyth/src/gmyth_backendinfo.c
gmyth/src/gmyth_common.c
gmyth/src/gmyth_debug.c
gmyth/src/gmyth_epg.c
gmyth/src/gmyth_file_transfer.c
gmyth/src/gmyth_file_transfer.h
gmyth/src/gmyth_livetv.c
gmyth/src/gmyth_livetv.h
gmyth/src/gmyth_monitor_handler.c
gmyth/src/gmyth_monitor_handler.h
gmyth/src/gmyth_programinfo.c
gmyth/src/gmyth_query.c
gmyth/src/gmyth_recorder.c
gmyth/src/gmyth_remote_util.c
gmyth/src/gmyth_scheduler.c
gmyth/src/gmyth_socket.c
gmyth/src/gmyth_stringlist.c
gmyth/src/gmyth_tvchain.c
gmyth/src/gmyth_uri.c
gmyth/src/gmyth_util.c
     1.1 --- a/gmyth/src/Makefile.am	Thu Dec 07 18:39:41 2006 +0000
     1.2 +++ b/gmyth/src/Makefile.am	Fri Dec 08 23:16:15 2006 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  	gmyth_marshal.c 			\
     1.5  	gmyth_marshal.h
     1.6  
     1.7 -libgmyth_la_SOURCES = 				\
     1.8 +libgmyth_la_SOURCES = 			\
     1.9  	gmyth_common.c				\
    1.10  	gmyth_debug.c				\
    1.11  	gmyth_epg.c 				\
    1.12 @@ -18,12 +18,12 @@
    1.13  	gmyth_query.c				\
    1.14  	gmyth_socket.c				\
    1.15  	gmyth_stringlist.c			\
    1.16 -	gmyth_monitor_handler.c			\
    1.17 -	gmyth_file_transfer.c			\
    1.18 +	gmyth_monitor_handler.c		\
    1.19 +	gmyth_file_transfer.c		\
    1.20  	gmyth_livetv.c				\
    1.21  	gmyth_backendinfo.c			\
    1.22  	gmyth_programinfo.c			\
    1.23 -	gmyth_uri.c				\
    1.24 +	gmyth_uri.c					\
    1.25  	$(BUILT_SOURCES)
    1.26  
    1.27  EXTRA_libgmyth_la_SOURCES = gmyth_marshal.list
    1.28 @@ -38,27 +38,27 @@
    1.29  	glib-genmarshal --body --prefix=gmyth_marshal $(srcdir)/gmyth_marshal.list >> gmyth_marshal.c.tmp
    1.30  	mv gmyth_marshal.c.tmp gmyth_marshal.c
    1.31  
    1.32 -libgmyth_la_CFLAGS = 				\
    1.33 -	-DDATADIR=\"$(pkgdatadir)\" 		\
    1.34 +libgmyth_la_CFLAGS = 			\
    1.35 +	-DDATADIR=\"$(pkgdatadir)\" \
    1.36  	$(GLIB_CFLAGS) 				\
    1.37  	$(GOBJECT_CFLAGS)			\
    1.38  	$(GST_CFLAGS) 				\
    1.39  	$(GSTBASE_CFLAGS)			\
    1.40 -	$(GSTPLUGINSBASE_CFLAGS)		\
    1.41 +	$(GSTPLUGINSBASE_CFLAGS)	\
    1.42  	$(MYSQL_CFLAGS)
    1.43  
    1.44 -libgmyth_la_LDFLAGS = 				\
    1.45 +libgmyth_la_LDFLAGS = 			\
    1.46  	-export-dynamic 			\
    1.47  	$(MYSQL_LIBS) 				\
    1.48  	$(GST_LIBS) 				\
    1.49  	$(GSTBASE_LIBS)				\
    1.50  	$(GSTPLUGINS_LIBS)
    1.51  
    1.52 -libgmyth_includedir = 				\
    1.53 +libgmyth_includedir = 			\
    1.54  	$(pkgincludedir)
    1.55  
    1.56 -libgmyth_include_HEADERS =    			\
    1.57 -	gmyth.h					\
    1.58 +libgmyth_include_HEADERS =    	\
    1.59 +	gmyth.h						\
    1.60  	gmyth_common.h	 			\
    1.61  	gmyth_debug.h				\
    1.62  	gmyth_epg.h 				\
    1.63 @@ -70,8 +70,8 @@
    1.64  	gmyth_socket.h 				\
    1.65  	gmyth_remote_util.h			\
    1.66  	gmyth_stringlist.h 			\
    1.67 -	gmyth_monitor_handler.h			\
    1.68 -	gmyth_file_transfer.h			\
    1.69 +	gmyth_monitor_handler.h		\
    1.70 +	gmyth_file_transfer.h		\
    1.71  	gmyth_livetv.h				\
    1.72  	gmyth_backendinfo.h			\
    1.73  	gmyth_programinfo.h			\
     2.1 --- a/gmyth/src/gmyth.h	Thu Dec 07 18:39:41 2006 +0000
     2.2 +++ b/gmyth/src/gmyth.h	Fri Dec 08 23:16:15 2006 +0000
     2.3 @@ -35,6 +35,7 @@
     2.4  #include <gmyth_epg.h>
     2.5  #include <gmyth_file_transfer.h>
     2.6  #include <gmyth_livetv.h>
     2.7 +#include <gmyth_monitor_handler.h>
     2.8  #include <gmyth_programinfo.h>
     2.9  #include <gmyth_query.h>
    2.10  #include <gmyth_recorder.h>
     3.1 --- a/gmyth/src/gmyth_backendinfo.c	Thu Dec 07 18:39:41 2006 +0000
     3.2 +++ b/gmyth/src/gmyth_backendinfo.c	Fri Dec 08 23:16:15 2006 +0000
     3.3 @@ -23,6 +23,10 @@
     3.4   * along with this program; if not, write to the Free Software
     3.5   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     3.6   */
     3.7 + 
     3.8 +#ifdef HAVE_CONFIG_H
     3.9 +#include "config.h"
    3.10 +#endif
    3.11  
    3.12  #include "gmyth_backendinfo.h"
    3.13  #include "gmyth_uri.h"
     4.1 --- a/gmyth/src/gmyth_common.c	Thu Dec 07 18:39:41 2006 +0000
     4.2 +++ b/gmyth/src/gmyth_common.c	Fri Dec 08 23:16:15 2006 +0000
     4.3 @@ -25,6 +25,10 @@
     4.4   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     4.5   */
     4.6  
     4.7 +#ifdef HAVE_CONFIG_H
     4.8 +#include "config.h"
     4.9 +#endif
    4.10 +
    4.11  #include "gmyth_common.h"
    4.12  #include "gmyth_debug.h"
    4.13  
     5.1 --- a/gmyth/src/gmyth_debug.c	Thu Dec 07 18:39:41 2006 +0000
     5.2 +++ b/gmyth/src/gmyth_debug.c	Fri Dec 08 23:16:15 2006 +0000
     5.3 @@ -23,6 +23,10 @@
     5.4   * along with this program; if not, write to the Free Software
     5.5   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     5.6   */
     5.7 + 
     5.8 +#ifdef HAVE_CONFIG_H
     5.9 +#include "config.h"
    5.10 +#endif
    5.11  
    5.12  #include "gmyth_debug.h"
    5.13  
     6.1 --- a/gmyth/src/gmyth_epg.c	Thu Dec 07 18:39:41 2006 +0000
     6.2 +++ b/gmyth/src/gmyth_epg.c	Fri Dec 08 23:16:15 2006 +0000
     6.3 @@ -25,6 +25,10 @@
     6.4   * along with this program; if not, write to the Free Software
     6.5   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     6.6   */
     6.7 + 
     6.8 +#ifdef HAVE_CONFIG_H
     6.9 +#include "config.h"
    6.10 +#endif
    6.11  
    6.12  #include <mysql.h>
    6.13  #include <stdlib.h>
     7.1 --- a/gmyth/src/gmyth_file_transfer.c	Thu Dec 07 18:39:41 2006 +0000
     7.2 +++ b/gmyth/src/gmyth_file_transfer.c	Fri Dec 08 23:16:15 2006 +0000
     7.3 @@ -1,4 +1,3 @@
     7.4 -/* vim: set sw=2: -*- Mode: C; tab-width: 2; indent-tabs-mode: t; c-basic-offset: 2; c-indent-level: 2-*- */
     7.5  /**
     7.6   * GMyth Library
     7.7   *
     7.8 @@ -31,14 +30,13 @@
     7.9   * - path (qurl - remote file to be opened)
    7.10   * - port number *   
    7.11   */
    7.12 + 
    7.13 +#ifdef HAVE_CONFIG_H
    7.14 +#include "config.h"
    7.15 +#endif
    7.16  
    7.17  #include "gmyth_file_transfer.h"
    7.18 -#include "gmyth_livetv.h"
    7.19 -#include "gmyth_util.h"
    7.20 -#include "gmyth_socket.h"
    7.21 -#include "gmyth_stringlist.h"
    7.22 -#include "gmyth_debug.h"
    7.23 -
    7.24 + 
    7.25  #include <unistd.h>
    7.26  #include <glib.h>
    7.27  
    7.28 @@ -50,6 +48,12 @@
    7.29  #include <stdlib.h>
    7.30  #include <assert.h>
    7.31  
    7.32 +#include "gmyth_livetv.h"
    7.33 +#include "gmyth_util.h"
    7.34 +#include "gmyth_socket.h"
    7.35 +#include "gmyth_stringlist.h"
    7.36 +#include "gmyth_debug.h"
    7.37 +
    7.38  #define GMYTHTV_QUERY_HEADER		"QUERY_FILETRANSFER "
    7.39  
    7.40  /* default values to the file transfer parameters */
     8.1 --- a/gmyth/src/gmyth_file_transfer.h	Thu Dec 07 18:39:41 2006 +0000
     8.2 +++ b/gmyth/src/gmyth_file_transfer.h	Fri Dec 08 23:16:15 2006 +0000
     8.3 @@ -45,7 +45,7 @@
     8.4  #include <sys/socket.h>
     8.5  #include <unistd.h>
     8.6  
     8.7 -#define G_BEGIN_DECLS
     8.8 +G_BEGIN_DECLS
     8.9  
    8.10  #define GMYTH_FILE_TRANSFER_TYPE               (gmyth_file_transfer_get_type ())
    8.11  #define GMYTH_FILE_TRANSFER(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GMYTH_FILE_TRANSFER_TYPE, GMythFileTransfer))
    8.12 @@ -103,6 +103,6 @@
    8.13  gboolean            gmyth_file_transfer_settimeout      (GMythFileTransfer *transfer, gboolean fast);
    8.14  guint64             gmyth_file_transfer_get_filesize    (GMythFileTransfer *transfer);
    8.15  
    8.16 -#define G_END_DECLS
    8.17 +G_END_DECLS
    8.18  
    8.19  #endif /* __GMYTH_FILE_TRANSFER_H__ */
     9.1 --- a/gmyth/src/gmyth_livetv.c	Thu Dec 07 18:39:41 2006 +0000
     9.2 +++ b/gmyth/src/gmyth_livetv.c	Fri Dec 08 23:16:15 2006 +0000
     9.3 @@ -24,13 +24,18 @@
     9.4   * along with this program; if not, write to the Free Software
     9.5   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     9.6   */
     9.7 +  
     9.8 +#ifdef HAVE_CONFIG_H
     9.9 +#include "config.h"
    9.10 +#endif
    9.11 +
    9.12 +#include "gmyth_livetv.h"
    9.13   
    9.14  #include "gmyth_remote_util.h"
    9.15  #include "gmyth_tvchain.h"
    9.16  #include "gmyth_socket.h"
    9.17  #include "gmyth_debug.h"
    9.18  
    9.19 -#include "gmyth_livetv.h"
    9.20  #include "gmyth_file_transfer.h"
    9.21  
    9.22  static void gmyth_livetv_class_init          (GMythLiveTVClass *klass);
    10.1 --- a/gmyth/src/gmyth_livetv.h	Thu Dec 07 18:39:41 2006 +0000
    10.2 +++ b/gmyth/src/gmyth_livetv.h	Fri Dec 08 23:16:15 2006 +0000
    10.3 @@ -28,17 +28,12 @@
    10.4  #ifndef GMYTH_LIVETV_H_
    10.5  #define GMYTH_LIVETV_H_
    10.6  
    10.7 +#include <glib.h>
    10.8  #include <glib-object.h>
    10.9  
   10.10 -#include "gmyth_recorder.h"
   10.11 -#include "gmyth_tvchain.h"
   10.12 -#include "gmyth_common.h"
   10.13 -#include "gmyth_backendinfo.h"
   10.14 -#include "gmyth_monitor_handler.h"
   10.15 +#include "gmyth.h"
   10.16  
   10.17 -#include "gmyth_file_transfer.h"
   10.18 -
   10.19 -#define G_BEGIN_DECLS
   10.20 +G_BEGIN_DECLS
   10.21  
   10.22  #define GMYTH_LIVETV_TYPE               (gmyth_livetv_get_type ())
   10.23  #define GMYTH_LIVETV(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GMYTH_LIVETV_TYPE, GMythLiveTV))
   10.24 @@ -89,6 +84,6 @@
   10.25  gboolean gmyth_livetv_setup (GMythLiveTV *livetv, GMythBackendInfo *backend_info);
   10.26  gboolean gmyth_livetv_next_program_chain ( GMythLiveTV *livetv );
   10.27  
   10.28 -#define G_END_DECLS
   10.29 +G_END_DECLS
   10.30  
   10.31  #endif /*GMYTH_LIVETV_H_*/
    11.1 --- a/gmyth/src/gmyth_monitor_handler.c	Thu Dec 07 18:39:41 2006 +0000
    11.2 +++ b/gmyth/src/gmyth_monitor_handler.c	Fri Dec 08 23:16:15 2006 +0000
    11.3 @@ -1,4 +1,3 @@
    11.4 -/* vim: set sw=2: -*- Mode: C; tab-width: 2; indent-tabs-mode: t; c-basic-offset: 2; c-indent-level: 2-*- */
    11.5  /**
    11.6   * GMyth Library
    11.7   *
    11.8 @@ -36,15 +35,6 @@
    11.9  #include "config.h"
   11.10  #endif
   11.11  
   11.12 -#include "gmyth_uri.h"
   11.13 -#include "gmyth_livetv.h"
   11.14 -#include "gmyth_util.h"
   11.15 -#include "gmyth_socket.h"
   11.16 -#include "gmyth_stringlist.h"
   11.17 -#include "gmyth_monitor_handler.h"
   11.18 -#include "gmyth_debug.h"
   11.19 -#include "gmyth_marshal.h"
   11.20 -
   11.21  #include <unistd.h>
   11.22  #include <glib.h>
   11.23  
   11.24 @@ -56,6 +46,16 @@
   11.25  #include <stdlib.h>
   11.26  #include <assert.h>
   11.27  
   11.28 +#include "gmyth_uri.h"
   11.29 +#include "gmyth_livetv.h"
   11.30 +#include "gmyth_util.h"
   11.31 +#include "gmyth_socket.h"
   11.32 +#include "gmyth_stringlist.h"
   11.33 +#include "gmyth_debug.h"
   11.34 +#include "gmyth_marshal.h"
   11.35 +// FIXME: this include cannot be in the first line
   11.36 +#include "gmyth_monitor_handler.h"
   11.37 + 
   11.38  #define GMYTHTV_QUERY_HEADER		"QUERY_FILETRANSFER "
   11.39  
   11.40  #define GMYTHTV_VERSION							30
    12.1 --- a/gmyth/src/gmyth_monitor_handler.h	Thu Dec 07 18:39:41 2006 +0000
    12.2 +++ b/gmyth/src/gmyth_monitor_handler.h	Fri Dec 08 23:16:15 2006 +0000
    12.3 @@ -32,19 +32,21 @@
    12.4  
    12.5  #include <glib-object.h>
    12.6  #include <glib.h>
    12.7 + 
    12.8 +#include <stdio.h>
    12.9 +#include <stdlib.h>
   12.10 +#include <string.h>
   12.11  
   12.12 +#include <netdb.h>
   12.13 +#include <sys/socket.h>
   12.14 +#include <unistd.h>
   12.15 + 
   12.16  #include "gmyth_socket.h"
   12.17  #include "gmyth_uri.h"
   12.18  #include "gmyth_livetv.h"
   12.19  
   12.20 -#include <stdio.h>
   12.21 -#include <stdlib.h>
   12.22 -#include <string.h>
   12.23 -#include <netdb.h>
   12.24 -#include <sys/socket.h>
   12.25 -#include <unistd.h>
   12.26  
   12.27 -#define G_BEGIN_DECLS
   12.28 +G_BEGIN_DECLS
   12.29  
   12.30  #define GMYTH_MONITOR_HANDLER_TYPE               (gmyth_monitor_handler_get_type ())
   12.31  #define GMYTH_MONITOR_HANDLER(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GMYTH_MONITOR_HANDLER_TYPE, GMythMonitorHandler))
   12.32 @@ -98,6 +100,6 @@
   12.33  
   12.34  void gmyth_monitor_handler_close (GMythMonitorHandler *monitor);
   12.35  
   12.36 -#define G_END_DECLS
   12.37 +G_END_DECLS
   12.38  
   12.39  #endif /* __GMYTH_MONITOR_HANDLER_H__ */
    13.1 --- a/gmyth/src/gmyth_programinfo.c	Thu Dec 07 18:39:41 2006 +0000
    13.2 +++ b/gmyth/src/gmyth_programinfo.c	Fri Dec 08 23:16:15 2006 +0000
    13.3 @@ -1,3 +1,35 @@
    13.4 +/**
    13.5 + * GMyth Library
    13.6 + *
    13.7 + * @file gmyth/gmyth_programinfo.c
    13.8 + * 
    13.9 + * @brief <p> GMythFileTransfer deals with the file streaming media remote/local
   13.10 + * transfering to the MythTV frontend.
   13.11 + *
   13.12 + * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
   13.13 + * @author Leonardo Sobral Cunha <leonardo.cunha@indt.org.br>
   13.14 + *
   13.15 + *//*
   13.16 + * 
   13.17 + * This program is free software; you can redistribute it and/or modify
   13.18 + * it under the terms of the GNU Lesser General Public License as published by
   13.19 + * the Free Software Foundation; either version 2 of the License, or
   13.20 + * (at your option) any later version.
   13.21 + *
   13.22 + * This program is distributed in the hope that it will be useful,
   13.23 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
   13.24 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13.25 + * GNU General Public License for more details.
   13.26 + *
   13.27 + * You should have received a copy of the GNU Lesser General Public License
   13.28 + * along with this program; if not, write to the Free Software
   13.29 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   13.30 + *
   13.31 + */
   13.32 + 
   13.33 +#ifdef HAVE_CONFIG_H
   13.34 +#include "config.h"
   13.35 +#endif
   13.36  
   13.37  #include "gmyth_programinfo.h"
   13.38  
    14.1 --- a/gmyth/src/gmyth_query.c	Thu Dec 07 18:39:41 2006 +0000
    14.2 +++ b/gmyth/src/gmyth_query.c	Fri Dec 08 23:16:15 2006 +0000
    14.3 @@ -25,6 +25,10 @@
    14.4   * along with this program; if not, write to the Free Software
    14.5   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    14.6   */
    14.7 + 
    14.8 +#ifdef HAVE_CONFIG_H
    14.9 +#include "config.h"
   14.10 +#endif
   14.11  
   14.12  #include <stdlib.h>
   14.13  #include <stdio.h>
    15.1 --- a/gmyth/src/gmyth_recorder.c	Thu Dec 07 18:39:41 2006 +0000
    15.2 +++ b/gmyth/src/gmyth_recorder.c	Fri Dec 08 23:16:15 2006 +0000
    15.3 @@ -26,6 +26,10 @@
    15.4   * along with this program; if not, write to the Free Software
    15.5   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    15.6   */
    15.7 + 
    15.8 +#ifdef HAVE_CONFIG_H
    15.9 +#include "config.h"
   15.10 +#endif
   15.11  
   15.12  #include "gmyth_recorder.h"
   15.13  
    16.1 --- a/gmyth/src/gmyth_remote_util.c	Thu Dec 07 18:39:41 2006 +0000
    16.2 +++ b/gmyth/src/gmyth_remote_util.c	Fri Dec 08 23:16:15 2006 +0000
    16.3 @@ -24,6 +24,10 @@
    16.4   * along with this program; if not, write to the Free Software
    16.5   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    16.6   */
    16.7 + 
    16.8 +#ifdef HAVE_CONFIG_H
    16.9 +#include "config.h"
   16.10 +#endif
   16.11  
   16.12  #include "gmyth_remote_util.h"
   16.13   
    17.1 --- a/gmyth/src/gmyth_scheduler.c	Thu Dec 07 18:39:41 2006 +0000
    17.2 +++ b/gmyth/src/gmyth_scheduler.c	Fri Dec 08 23:16:15 2006 +0000
    17.3 @@ -25,10 +25,14 @@
    17.4   * along with this program; if not, write to the Free Software
    17.5   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    17.6   */
    17.7 -
    17.8 -#include <assert.h>
    17.9 + 
   17.10 +#ifdef HAVE_CONFIG_H
   17.11 +#include "config.h"
   17.12 +#endif
   17.13  
   17.14  #include "gmyth_scheduler.h"
   17.15 + 
   17.16 +#include <assert.h>
   17.17  
   17.18  #include "gmyth_util.h"
   17.19  #include "gmyth_query.h"
    18.1 --- a/gmyth/src/gmyth_socket.c	Thu Dec 07 18:39:41 2006 +0000
    18.2 +++ b/gmyth/src/gmyth_socket.c	Fri Dec 08 23:16:15 2006 +0000
    18.3 @@ -31,9 +31,11 @@
    18.4   */
    18.5  
    18.6  #ifdef HAVE_CONFIG_H
    18.7 -#  include "config.h"
    18.8 +#include "config.h"
    18.9  #endif
   18.10  
   18.11 +#include "gmyth_socket.h"
   18.12 +
   18.13  #include <glib.h> 
   18.14  #include <glib/gprintf.h>
   18.15  
   18.16 @@ -56,7 +58,6 @@
   18.17  	#include <sys/ioctl.h>
   18.18  #endif
   18.19  
   18.20 -#include "gmyth_socket.h"
   18.21  #include "gmyth_stringlist.h"
   18.22  #include "gmyth_uri.h"
   18.23  #include "gmyth_debug.h"
    19.1 --- a/gmyth/src/gmyth_stringlist.c	Thu Dec 07 18:39:41 2006 +0000
    19.2 +++ b/gmyth/src/gmyth_stringlist.c	Fri Dec 08 23:16:15 2006 +0000
    19.3 @@ -25,8 +25,13 @@
    19.4   * along with this program; if not, write to the Free Software
    19.5   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    19.6   */
    19.7 + 
    19.8 +#ifdef HAVE_CONFIG_H
    19.9 +#include "config.h"
   19.10 +#endif
   19.11  
   19.12  #include "gmyth_stringlist.h"
   19.13 + 
   19.14  #include "gmyth_debug.h"
   19.15  
   19.16  static void gmyth_string_list_class_init          (GMythStringListClass *klass);
    20.1 --- a/gmyth/src/gmyth_tvchain.c	Thu Dec 07 18:39:41 2006 +0000
    20.2 +++ b/gmyth/src/gmyth_tvchain.c	Fri Dec 08 23:16:15 2006 +0000
    20.3 @@ -25,6 +25,12 @@
    20.4   * along with this program; if not, write to the Free Software
    20.5   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    20.6   */
    20.7 + 
    20.8 +#ifdef HAVE_CONFIG_H
    20.9 +#include "config.h"
   20.10 +#endif
   20.11 +
   20.12 +#include "gmyth_tvchain.h"
   20.13  
   20.14  #include <glib.h>
   20.15  #include <time.h>
   20.16 @@ -33,7 +39,6 @@
   20.17  #include <assert.h>
   20.18  
   20.19  #include "gmyth_epg.h"
   20.20 -#include "gmyth_tvchain.h"
   20.21  #include "gmyth_util.h"
   20.22  #include "gmyth_query.h"
   20.23  #include "gmyth_scheduler.h"
    21.1 --- a/gmyth/src/gmyth_uri.c	Thu Dec 07 18:39:41 2006 +0000
    21.2 +++ b/gmyth/src/gmyth_uri.c	Fri Dec 08 23:16:15 2006 +0000
    21.3 @@ -26,12 +26,17 @@
    21.4   * along with this program; if not, write to the Free Software
    21.5   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    21.6   */
    21.7 + 
    21.8 +#ifdef HAVE_CONFIG_H
    21.9 +#include "config.h"
   21.10 +#endif
   21.11 +
   21.12 +#include "gmyth_uri.h"
   21.13  
   21.14  #include <glib.h>
   21.15  #include <string.h>
   21.16  #include <stdlib.h>
   21.17  
   21.18 -#include "gmyth_uri.h"
   21.19  #include "gmyth_debug.h"
   21.20  
   21.21  static void gmyth_string_list_class_init          (GMythURIClass *klass);
    22.1 --- a/gmyth/src/gmyth_util.c	Thu Dec 07 18:39:41 2006 +0000
    22.2 +++ b/gmyth/src/gmyth_util.c	Fri Dec 08 23:16:15 2006 +0000
    22.3 @@ -24,12 +24,16 @@
    22.4  * along with this program; if not, write to the Free Software
    22.5  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    22.6  */
    22.7 + 
    22.8 +#ifdef HAVE_CONFIG_H
    22.9 +#include "config.h"
   22.10 +#endif
   22.11 +
   22.12 +#include "gmyth_util.h"
   22.13  
   22.14  #include <glib.h>
   22.15  #include <glib/gprintf.h>
   22.16  
   22.17 -#include "gmyth_util.h"
   22.18 -
   22.19  #include "gmyth_backendinfo.h"
   22.20  #include "gmyth_socket.h"
   22.21  #include "gmyth_programinfo.h"