* matts patch fixing the ecrash <-> autoconf interferance.
[citadel.git] / citadel / ecrash.c
index f67e6776232243ec0b34bdb7d566476ece301580..47effcd345d9f7209bd68ca95023ca8e3365fdc3 100644 (file)
 #include <fcntl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <execinfo.h>
 #include <pthread.h>
 #include "sysdep_decls.h"
 #include "ecrash.h"
 
 #define NIY()  printf("%s: Not Implemented Yet!\n", __FUNCTION__)
 #ifdef HAVE_BACKTRACE
+#include <execinfo.h>
 static eCrashParameters gbl_params;
 static int gbl_fd=-1;