summaryrefslogtreecommitdiff
path: root/sysutils/htop/patches/patch-CRT.c
blob: 736b0988639c8ac7fb8a0b1b7ff93ae6bc7a31bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-CRT.c,v 1.2 2012/03/21 18:28:40 drochner Exp $

--- CRT.c.orig	2011-12-26 21:52:55.000000000 +0000
+++ CRT.c
@@ -120,7 +120,9 @@ int CRT_cursorX = 0;
 
 char* CRT_termType;
 
+#ifdef HAVE_EXECINFO_H
 void *backtraceArray[128];
+#endif
 
 static void CRT_handleSIGSEGV(int sgn) {
    (void) sgn;