diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 820c9e4f..29b20c48 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -193,3 +193,6 @@ Michael Paar Hannu Savolainen for translating the OSD texts to the Finnish language + +Jürgen Schmidt + for fixing a problem with 'in_addr_t' on systems with glibc < 2.2. diff --git a/HISTORY b/HISTORY index 8a2b861f..c5bf647f 100644 --- a/HISTORY +++ b/HISTORY @@ -981,3 +981,5 @@ Video Disk Recorder Revision History - Reverted to the previous way of searching for the EPG record of the current recording in case of a periodic timer (i.e. taking the one that is in the middle between start and end time). +- Added a typedef for 'in_addr_t' to make it work with glibc < 2.2 (thanks to + Jürgen Schmidt). diff --git a/config.h b/config.h index 325f4ef2..8d259820 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.93 2002/02/03 15:16:21 kls Exp $ + * $Id: config.h 1.94 2002/02/09 16:00:00 kls Exp $ */ #ifndef __CONFIG_H @@ -174,6 +174,8 @@ public: const char *Execute(void); }; +typedef uint32_t in_addr_t; //XXX from /usr/include/netinet/in.h (apparently this is not defined on systems with glibc < 2.2) + class cSVDRPhost : public cListObject { private: struct in_addr addr;