summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-14 21:49:49 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-14 21:49:49 +0000
commit10bf059b62480d502652408e9c138445859789fc (patch)
treeb6138b66dd7375a30c076c95829582f8addde39c /source3/include
parent11fb38cfb8fd25783f54cba882e3e9968bd62a0b (diff)
downloadsamba-10bf059b62480d502652408e9c138445859789fc.tar.gz
samba-10bf059b62480d502652408e9c138445859789fc.tar.bz2
samba-10bf059b62480d502652408e9c138445859789fc.zip
Backport my backtrace patch from HEAD
(This used to be commit 66fcf6b4938a87e5ded7c7e5830a6a54e4439544)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h4
-rw-r--r--source3/include/local.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 1fc7c3c51a..d406c07d06 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -345,6 +345,10 @@
#include <poll.h>
#endif
+#ifdef HAVE_EXECINFO_H
+#include <execinfo.h>
+#endif
+
#ifdef HAVE_SYS_CAPABILITY_H
#if defined(BROKEN_REDHAT_7_SYSTEM_HEADERS) && !defined(_I386_STATFS_H)
diff --git a/source3/include/local.h b/source3/include/local.h
index 29b0641119..4c3c58e14f 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -223,4 +223,8 @@
/* Max number of simultaneous winbindd socket connections. */
#define WINBINDD_MAX_SIMULTANEOUS_CLIENTS 200
+
+/* Buffer size to use when printing backtraces */
+#define BACKTRACE_STACK_SIZE 64
+
#endif