Skip to content

Commit

Permalink
Only include execinfo.h if MUTEX_DEBUGGING is set
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
stgraber committed Nov 5, 2013
1 parent c9bb9a8 commit 3da0fee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lxc/utils.c
Expand Up @@ -40,7 +40,10 @@
#include <sys/wait.h>
#include <assert.h>
#include <pthread.h>

#ifdef MUTEX_DEBUGGING
#include <execinfo.h>
#endif

#ifndef HAVE_GETLINE
#ifdef HAVE_FGETLN
Expand Down

0 comments on commit 3da0fee

Please sign in to comment.