summaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c2
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__