From 5d2439657f7f81f1dcdc45e960c91ce4196ae118 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Sun, 17 Nov 2013 15:05:42 +0100 Subject: NetBSD missing backtrace(3) portability fix Implement backtrace(3) and backtrace_symbols(3) which do not exist in NetBSD While there, remove duplicate #include BUG: 764655 Change-Id: Iccd695765906e085c3f8fcb670506d4fea68fa39 Signed-off-by: Emmanuel Dreyfus Reviewed-on: http://review.gluster.org/6285 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/features/protect/src/prot_client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/features') diff --git a/xlators/features/protect/src/prot_client.c b/xlators/features/protect/src/prot_client.c index a27216d0aff..d09715067bd 100644 --- a/xlators/features/protect/src/prot_client.c +++ b/xlators/features/protect/src/prot_client.c @@ -15,7 +15,9 @@ #include "xlator.h" #include "defaults.h" +#ifndef __NetBSD__ #include +#endif #define NUM_FRAMES 20 -- cgit