diff options
author | Devin Heitmueller <dheitmueller@kernellabs.com> | 2009-11-25 20:11:53 -0500 |
---|---|---|
committer | Devin Heitmueller <dheitmueller@kernellabs.com> | 2009-11-25 20:11:53 -0500 |
commit | 4133bdeb91db3f2d5c33abd00c504924c5b22264 (patch) | |
tree | 9d382479ebf70a574f3831ba4a5f8a50fc66312b | |
parent | 4961deade30c1b3e9c6584832c18349f8d7a024b (diff) |
djh - Fix compilation issue, using patch from the Fedora repo:
http://cvs.fedoraproject.org/viewvc/rpms/tvtime/devel/tvtime-1.0.2-localedef.patch?view=log
* Sun May 31 2009 Tomas Smetana <tsmetana@redhat.com> 1.0.2-7
- fix conflictng type for locale_t
- fix build requires for rawhide
-rw-r--r-- | src/xmltv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmltv.c b/src/xmltv.c index 54acf6d..e944f59 100644 --- a/src/xmltv.c +++ b/src/xmltv.c @@ -118,9 +118,9 @@ const int num_timezones = sizeof( date_manip_timezones ) / sizeof( tz_map_t ); typedef struct { const char *code; const char *name; -} locale_t; +} xmltv_locale_t; -static locale_t locale_table[] = { +static xmltv_locale_t locale_table[] = { {"AA", "Afar"}, {"AB", "Abkhazian"}, {"AF", "Afrikaans"}, {"AM", "Amharic"}, {"AR", "Arabic"}, {"AS", "Assamese"}, {"AY", "Aymara"}, {"AZ", "Azerbaijani"}, {"BA", "Bashkir"}, @@ -168,7 +168,7 @@ static locale_t locale_table[] = { {"XH", "Xhosa"}, {"YO", "Yoruba"}, {"ZH", "Chinese"}, {"ZU", "Zulu"} }; -const int num_locales = sizeof( locale_table ) / sizeof( locale_t ); +const int num_locales = sizeof( locale_table ) / sizeof( xmltv_locale_t ); /** * Timezone parsing code based loosely on the algorithm in |