summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-26 13:43:29 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-26 13:43:29 +0000
commit70cf597a790b6f667800e43f81b105f674e61a20 (patch)
treec6ce390b84c247c92d012633d61d07d2545bda53 /source3/include/includes.h
parent5edbbc1808537781790c0641ef7071f98aa81d1c (diff)
downloadsamba-70cf597a790b6f667800e43f81b105f674e61a20.tar.gz
samba-70cf597a790b6f667800e43f81b105f674e61a20.tar.bz2
samba-70cf597a790b6f667800e43f81b105f674e61a20.zip
Use execinfo.h to get prototypes for backtrace_symbols (fixes
some warnings) (This used to be commit d453b656e56a9b836b76f1cdce8de65d7bc4eb6c)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 2bba9d5084..f536ea88fe 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)