From 86005ded65d58cd800f80dfb31e78adb7d1149bf Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 24 May 2005 16:31:38 +0000 Subject: [PATCH] fix include names for 2.4 compatibility git-svn-id: http://ltt.polymtl.ca/svn@934 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/facility.c | 4 ++++ ltt/branches/poly/ltt/tracefile.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ltt/branches/poly/ltt/facility.c b/ltt/branches/poly/ltt/facility.c index c7e2ecaf..1aa6b432 100644 --- a/ltt/branches/poly/ltt/facility.c +++ b/ltt/branches/poly/ltt/facility.c @@ -31,6 +31,10 @@ #include "ltt-private.h" #include +#ifndef g_open +#define g_open open +#endif + #define g_close close /* search for the (named) type in the table, if it does not exist diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index 0a63f71b..0a649b5e 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -41,6 +41,11 @@ #include #include +#ifndef g_open +#define g_open open +#endif + + #define DIR_NAME_SIZE 256 #define __UNUSED__ __attribute__((__unused__)) -- 2.34.1