From: compudj Date: Tue, 24 May 2005 16:31:38 +0000 (+0000) Subject: fix include names for 2.4 compatibility X-Git-Tag: v0.12.20~2555 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=86005ded65d58cd800f80dfb31e78adb7d1149bf;p=lttv.git fix include names for 2.4 compatibility git-svn-id: http://ltt.polymtl.ca/svn@934 04897980-b3bd-0310-b5e0-8ef037075253 --- 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__))