Only include execinfo.h if MUTEX_DEBUGGING is set

parent c9bb9a85
...@@ -40,7 +40,10 @@ ...@@ -40,7 +40,10 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <assert.h> #include <assert.h>
#include <pthread.h> #include <pthread.h>
#ifdef MUTEX_DEBUGGING
#include <execinfo.h> #include <execinfo.h>
#endif
#ifndef HAVE_GETLINE #ifndef HAVE_GETLINE
#ifdef HAVE_FGETLN #ifdef HAVE_FGETLN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment