From patchwork Thu Feb 14 17:40:29 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ville_Skytt=C3=A4?= X-Patchwork-Id: 12598 Received: from smtp6.pp.htv.fi ([213.243.153.40]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1JPi4W-0006uc-BA for vdr@linuxtv.org; Thu, 14 Feb 2008 18:40:32 +0100 Received: from viper.bobcat.mine.nu (cs181043142.pp.htv.fi [82.181.43.142]) by smtp6.pp.htv.fi (Postfix) with ESMTP id 5E2D75BC035 for ; Thu, 14 Feb 2008 19:40:29 +0200 (EET) From: Ville =?iso-8859-1?q?Skytt=E4?= To: "Klaus Schmidinger's VDR" Date: Thu, 14 Feb 2008 19:40:29 +0200 User-Agent: KMail/1.9.6 (enterprise 0.20071204.744707) MIME-Version: 1.0 Message-Id: <200802141940.29642.ville.skytta@iki.fi> Subject: [vdr] [PATCH] Fix build with GCC 4.3's cleaned up C++ headers X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2008 17:40:32 -0000 Status: O X-Status: X-Keywords: X-UID: 15724 Hello, Attached is a patch that fixes VDR 1.4.7's build for me on Fedora 9 devel against GCC 4.3's cleaned up C++ headers. The build errors were due to INT_MAX not being defined. diff -up vdr-1.4.7/epg.c~ vdr-1.4.7/epg.c --- vdr-1.4.7/epg.c~ 2006-10-28 12:12:42.000000000 +0300 +++ vdr-1.4.7/epg.c 2008-02-14 19:12:26.000000000 +0200 @@ -12,6 +12,7 @@ #include "epg.h" #include +#include #include #include "libsi/si.h" #include "timers.h" diff -up vdr-1.4.7/menuitems.h~ vdr-1.4.7/menuitems.h --- vdr-1.4.7/menuitems.h~ 2008-02-14 19:10:06.000000000 +0200 +++ vdr-1.4.7/menuitems.h 2008-02-14 19:12:39.000000000 +0200 @@ -10,6 +10,7 @@ #ifndef __MENUITEMS_H #define __MENUITEMS_H +#include #include "osdbase.h" extern const char *FileNameChars;