1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added a typedef for 'in_addr_t' to make it work with glibc < 2.2

This commit is contained in:
Klaus Schmidinger 2002-02-09 16:03:22 +01:00
parent a6faae26b8
commit 00b28f19db
3 changed files with 8 additions and 1 deletions

View File

@ -193,3 +193,6 @@ Michael Paar <mpaar@uumail.de>
Hannu Savolainen <hannu@opensound.com> Hannu Savolainen <hannu@opensound.com>
for translating the OSD texts to the Finnish language for translating the OSD texts to the Finnish language
Jürgen Schmidt <ju@ct.heise.de>
for fixing a problem with 'in_addr_t' on systems with glibc < 2.2.

View File

@ -981,3 +981,5 @@ Video Disk Recorder Revision History
- Reverted to the previous way of searching for the EPG record of the current - 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 recording in case of a periodic timer (i.e. taking the one that is in the
middle between start and end time). 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).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 #ifndef __CONFIG_H
@ -174,6 +174,8 @@ public:
const char *Execute(void); 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 { class cSVDRPhost : public cListObject {
private: private:
struct in_addr addr; struct in_addr addr;