From 059e1d3d3268391d73bb0dc733629eb8edfeb1ed Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 30 Jan 2012 08:05:21 -0500 Subject: [PATCH] Define MAP_STACK to 0 if not defined by the architecture This is just a hint anyway, currently no-op. Signed-off-by: Mathieu Desnoyers --- src/common/runas.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/runas.c b/src/common/runas.c index 497a96ad8..07912a7d6 100644 --- a/src/common/runas.c +++ b/src/common/runas.c @@ -36,6 +36,10 @@ #define RUNAS_CHILD_STACK_SIZE 10485760 +#ifndef MAP_STACK +#define MAP_STACK 0 +#endif + struct run_as_data { int (*cmd)(void *data); void *data; -- 2.34.1