diff options
author | antirez <antirez@gmail.com> | 2016-09-27 00:29:47 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2016-09-27 00:29:47 +0200 |
commit | 6782e774f13499cf51e4301ad4f1262acde664e1 (patch) | |
tree | 45132992c6deb69fc5349fdfda4b94374c2e3367 | |
parent | 2564031a1542baf354d4138a12f1d66ba5743ce5 (diff) | |
download | redis-6782e774f13499cf51e4301ad4f1262acde664e1.tar.gz |
debug.c: include dlfcn.h regardless of BACKTRACE support.
-rw-r--r-- | src/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c index e00526577..d48caedcc 100644 --- a/src/debug.c +++ b/src/debug.c @@ -33,6 +33,7 @@ #include <arpa/inet.h> #include <signal.h> +#include <dlfcn.h> #ifdef HAVE_BACKTRACE #include <execinfo.h> @@ -40,7 +41,6 @@ #include <fcntl.h> #include "bio.h" #include <unistd.h> -#include <dlfcn.h> #endif /* HAVE_BACKTRACE */ #ifdef __CYGWIN__ |