backtrace is in execinfo on FreeBSD

This commit is contained in:
Isaac Connor 2015-02-24 09:22:39 -05:00
parent 3cc4c2e24d
commit 52938920de
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef __FreeBSD__
#include <execinfo.h>
#endif
#define TRACE_SIZE 16 #define TRACE_SIZE 16