diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-09 16:03:22 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-09 16:03:22 +0100 |
commit | 00b28f19dbcab79596346bb4b74a9a944b35906d (patch) | |
tree | 4b15c193b33cadc0d72ed78cc943ab050fe38b3d | |
parent | a6faae26b8d91ac085bbf38f9ad72102f65bc6f8 (diff) | |
download | vdr-00b28f19dbcab79596346bb4b74a9a944b35906d.tar.gz vdr-00b28f19dbcab79596346bb4b74a9a944b35906d.tar.bz2 |
Added a typedef for 'in_addr_t' to make it work with glibc < 2.2
-rw-r--r-- | CONTRIBUTORS | 3 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | config.h | 4 |
3 files changed, 8 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 820c9e4f..29b20c48 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -193,3 +193,6 @@ Michael Paar <mpaar@uumail.de> Hannu Savolainen <hannu@opensound.com> 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. @@ -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). @@ -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; |