summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-02-09 16:03:22 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-02-09 16:03:22 +0100
commit00b28f19dbcab79596346bb4b74a9a944b35906d (patch)
tree4b15c193b33cadc0d72ed78cc943ab050fe38b3d
parenta6faae26b8d91ac085bbf38f9ad72102f65bc6f8 (diff)
downloadvdr-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--CONTRIBUTORS3
-rw-r--r--HISTORY2
-rw-r--r--config.h4
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.
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;