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

This commit is contained in:
antirez 2016-09-27 00:29:47 +02:00
parent 2564031a15
commit 6782e774f1

View File

@ -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__