From d4e4f10df13ae52f526decc4a38f689d65af6fdc Mon Sep 17 00:00:00 2001 From: Fabien Thomas Date: Fri, 18 Aug 2006 07:38:21 +0000 Subject: [PATCH] do not include alloca.h under BSD; alloca is in stdlib.h git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1221 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/cpg.c | 2 ++ exec/totempg.c | 2 ++ exec/totemsrp.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/exec/cpg.c b/exec/cpg.c index 6066703a..6fd7b18b 100644 --- a/exec/cpg.c +++ b/exec/cpg.c @@ -33,7 +33,9 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef OPENAIS_BSD #include +#endif #include #include #include diff --git a/exec/totempg.c b/exec/totempg.c index f7614010..f6df1e95 100644 --- a/exec/totempg.c +++ b/exec/totempg.c @@ -82,7 +82,9 @@ * */ +#ifndef OPENAIS_BSD #include +#endif #include #include #include diff --git a/exec/totemsrp.c b/exec/totemsrp.c index b7ad48a7..6803394b 100644 --- a/exec/totemsrp.c +++ b/exec/totemsrp.c @@ -48,7 +48,9 @@ * usage on 1.6ghz xeon from 35% to less then .1 % as measured by top */ +#ifndef OPENAIS_BSD #include +#endif #include #include #include