Commit 6782e774 authored by antirez's avatar antirez
Browse files

debug.c: include dlfcn.h regardless of BACKTRACE support.

parent 2564031a
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include <signal.h> #include <signal.h>
#include <dlfcn.h>
#ifdef HAVE_BACKTRACE #ifdef HAVE_BACKTRACE
#include <execinfo.h> #include <execinfo.h>
...@@ -40,7 +41,6 @@ ...@@ -40,7 +41,6 @@
#include <fcntl.h> #include <fcntl.h>
#include "bio.h" #include "bio.h"
#include <unistd.h> #include <unistd.h>
#include <dlfcn.h>
#endif /* HAVE_BACKTRACE */ #endif /* HAVE_BACKTRACE */
#ifdef __CYGWIN__ #ifdef __CYGWIN__
......
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