]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Only include execinfo.h if MUTEX_DEBUGGING is set
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 5 Nov 2013 19:30:30 +0000 (14:30 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 5 Nov 2013 19:30:30 +0000 (14:30 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/utils.c

index 590482e0b310aa49818955404fecf13b613c3511..4bc2c35e4de9a60098f17e745a9cce9707fe3e56 100644 (file)
 #include <sys/wait.h>
 #include <assert.h>
 #include <pthread.h>
+
+#ifdef MUTEX_DEBUGGING
 #include <execinfo.h>
+#endif
 
 #ifndef HAVE_GETLINE
 #ifdef HAVE_FGETLN