From bb9e9422bbd0268d94fa9880bf8f2a159a685480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matti=20Lehtim=C3=A4ki?= Date: Sat, 28 Sep 2013 11:59:52 +0200 Subject: Fix header includes. --- HISTORY | 1 + blacklist.h | 4 +++- charset.c | 1 + charset.h | 3 ++- config.c | 3 ++- config.h | 2 +- epgclone.c | 2 ++ epgclone.h | 3 ++- epgfixer.c | 4 +++- epghandler.c | 4 ++-- epghandler.h | 1 + regexp.c | 2 ++ regexp.h | 7 ++++--- setup_menu.c | 6 +++++- setup_menu.h | 2 +- tools.c | 5 ++++- tools.h | 4 ++-- 17 files changed, 38 insertions(+), 16 deletions(-) diff --git a/HISTORY b/HISTORY index 052f3bf..f8e8a24 100644 --- a/HISTORY +++ b/HISTORY @@ -3,6 +3,7 @@ VDR Plugin 'epgfixer' Revision History 2013-xx-xx: Version x.x.x +- Fix header includes. - Makefile fixes. Install example config files automatically. - Fix crash in config editing menus if using color buttons when config is empty. - Fix SVDRP command REL (thanks to Ville Skyttä). diff --git a/blacklist.h b/blacklist.h index 1d60185..da82219 100644 --- a/blacklist.h +++ b/blacklist.h @@ -8,8 +8,10 @@ #ifndef __EPGFIXER_BLACKLIST_H_ #define __EPGFIXER_BLACKLIST_H_ +#include +#include + #include "tools.h" -#include class cBlacklist : public cListItem { diff --git a/charset.c b/charset.c index 90c4a04..fec5864 100644 --- a/charset.c +++ b/charset.c @@ -5,6 +5,7 @@ * */ +#include #include "charset.h" /* Global instance */ diff --git a/charset.h b/charset.h index 2207250..395c838 100644 --- a/charset.h +++ b/charset.h @@ -8,8 +8,9 @@ #ifndef __EPGFIXER_CHARSET_H_ #define __EPGFIXER_CHARSET_H_ -#include "tools.h" #include +#include +#include "tools.h" class cCharSet : public cListItem { diff --git a/config.c b/config.c index aa40420..9fab87b 100644 --- a/config.c +++ b/config.c @@ -5,8 +5,9 @@ * */ -#include "config.h" +#include #include +#include "config.h" /* Global instance */ cEpgfixerSetup EpgfixerSetup; diff --git a/config.h b/config.h index ad0a778..3650d72 100644 --- a/config.h +++ b/config.h @@ -8,7 +8,7 @@ #ifndef __EPGFIXER_CONFIG_H_ #define __EPGFIXER_CONFIG_H_ -#include "regexp.h" +#include class cEpgfixerSetup { diff --git a/epgclone.c b/epgclone.c index 427665a..9a092fa 100644 --- a/epgclone.c +++ b/epgclone.c @@ -5,6 +5,8 @@ * */ +#include +#include #include "epgclone.h" /* Global instance */ diff --git a/epgclone.h b/epgclone.h index 894547c..13e97cd 100644 --- a/epgclone.h +++ b/epgclone.h @@ -8,8 +8,9 @@ #ifndef __EPGFIXER_EPGCLONE_H_ #define __EPGFIXER_EPGCLONE_H_ -#include "tools.h" #include +#include +#include "tools.h" class cEpgClone : public cListItem { diff --git a/epgfixer.c b/epgfixer.c index bf15116..653179f 100644 --- a/epgfixer.c +++ b/epgfixer.c @@ -5,14 +5,16 @@ * */ +#include +#include #include #include #include "blacklist.h" #include "charset.h" #include "epgclone.h" +#include "epghandler.h" #include "regexp.h" #include "setup_menu.h" -#include "epghandler.h" #if defined(APIVERSNUM) && APIVERSNUM < 10726 #error "VDR-1.7.26 API version or greater is required!" diff --git a/epghandler.c b/epghandler.c index da62dd5..b30ee1a 100644 --- a/epghandler.c +++ b/epghandler.c @@ -5,14 +5,14 @@ * */ +#include +#include #include "epghandler.h" #include "blacklist.h" #include "charset.h" #include "config.h" #include "epgclone.h" #include "regexp.h" -#include -#include // // Original VDR bug fixes adapted from epg.c of VDR diff --git a/epghandler.h b/epghandler.h index 2e03d25..cd5d51e 100644 --- a/epghandler.h +++ b/epghandler.h @@ -8,6 +8,7 @@ #ifndef __EPGFIXER_EPGHANDLER_H #define __EPGFIXER_EPGHANDLER_H +#include #include class cEpgfixerEpgHandler : public cEpgHandler diff --git a/regexp.c b/regexp.c index 8392586..9067911 100644 --- a/regexp.c +++ b/regexp.c @@ -5,6 +5,8 @@ * */ +#include +#include #include "regexp.h" // for PCRE without JIT support diff --git a/regexp.h b/regexp.h index 7077a00..c1565e2 100644 --- a/regexp.h +++ b/regexp.h @@ -8,13 +8,14 @@ #ifndef __EPGFIXER_REGEXP_H_ #define __EPGFIXER_REGEXP_H_ -#include "tools.h" -#include - #ifdef HAVE_PCREPOSIX #include #endif +#include +#include +#include "tools.h" + typedef enum { REGEXP_TITLE, REGEXP_SHORTTEXT, REGEXP_DESCRIPTION, REGEXP_UNDEFINED } sources; class cRegexp : public cListItem diff --git a/setup_menu.c b/setup_menu.c index 59846d2..19f84a2 100644 --- a/setup_menu.c +++ b/setup_menu.c @@ -5,14 +5,18 @@ * */ -#include "setup_menu.h" +#include #include +#include #include +#include +#include #include "blacklist.h" #include "charset.h" #include "epgclone.h" #include "regexp.h" #include "tools.h" +#include "setup_menu.h" //--- cMenuSetupConfigEditor ------------------------------------------------------ diff --git a/setup_menu.h b/setup_menu.h index 6eef26f..c9f7332 100644 --- a/setup_menu.h +++ b/setup_menu.h @@ -8,8 +8,8 @@ #ifndef __EPGFIXER_SETUP_MENU_H #define __EPGFIXER_SETUP_MENU_H -#include #include +#include #include "config.h" class cMenuSetupEpgfixer : public cMenuSetupPage diff --git a/tools.c b/tools.c index 4080c03..8f86ed0 100644 --- a/tools.c +++ b/tools.c @@ -5,9 +5,12 @@ * */ -#include "tools.h" +#include +#include #include +#include "tools.h" + // // HTML conversion code taken from RSS Reader plugin for VDR // http://www.saunalahti.fi/~rahrenbe/vdr/rssreader/ diff --git a/tools.h b/tools.h index 9dda805..d77574f 100644 --- a/tools.h +++ b/tools.h @@ -8,10 +8,10 @@ #ifndef __EPGFIXER_TOOLS_H_ #define __EPGFIXER_TOOLS_H_ +#include +#include #include #include -#include -#include #define error(x...) esyslog("EPGFixer: " x); -- cgit v1.2.3