diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2013-11-17 15:05:42 +0100 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-11-19 13:30:39 -0800 |
commit | 5d2439657f7f81f1dcdc45e960c91ce4196ae118 (patch) | |
tree | b1193802a60de983348cac503ec5a5bade70a187 /xlators/features/protect | |
parent | bf6f49a309f1894073f208b4a97a7baa6ec3e136 (diff) | |
download | glusterfs-5d2439657f7f81f1dcdc45e960c91ce4196ae118.tar.gz glusterfs-5d2439657f7f81f1dcdc45e960c91ce4196ae118.tar.xz glusterfs-5d2439657f7f81f1dcdc45e960c91ce4196ae118.zip |
NetBSD missing backtrace(3) portability fix
Implement backtrace(3) and backtrace_symbols(3) which do not exist in NetBSD
While there, remove duplicate #include <stdio.h>
BUG: 764655
Change-Id: Iccd695765906e085c3f8fcb670506d4fea68fa39
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/6285
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/features/protect')
-rw-r--r-- | xlators/features/protect/src/prot_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/features/protect/src/prot_client.c b/xlators/features/protect/src/prot_client.c index a27216d0af..d09715067b 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 <execinfo.h> +#endif #define NUM_FRAMES 20 |