From c8a9da69ea5d32557f6d6291f3162a90f6a33f3c Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Fri, 18 Dec 2015 13:50:17 +0100 Subject: [PATCH] Fix libuv.c dependencies --- src/extension/libev.c | 4 ++-- src/extension/libevent.c | 4 ++-- src/extension/libmini_event.c | 5 +++-- src/extension/libuv.c | 3 ++- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/extension/libev.c b/src/extension/libev.c index a59758b5..6a8c26e9 100644 --- a/src/extension/libev.c +++ b/src/extension/libev.c @@ -31,9 +31,9 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "getdns/getdns_ext_libev.h" -#include "types-internal.h" #include "config.h" +#include "types-internal.h" +#include "getdns/getdns_ext_libev.h" #ifdef HAVE_LIBEV_EV_H #include diff --git a/src/extension/libevent.c b/src/extension/libevent.c index 5fdd6230..800ebe8e 100644 --- a/src/extension/libevent.c +++ b/src/extension/libevent.c @@ -31,10 +31,10 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "config.h" +#include "types-internal.h" #include #include "getdns/getdns_ext_libevent.h" -#include "types-internal.h" -#include "config.h" #ifdef HAVE_EVENT2_EVENT_H # include diff --git a/src/extension/libmini_event.c b/src/extension/libmini_event.c index 4108b0d9..47ebcc24 100644 --- a/src/extension/libmini_event.c +++ b/src/extension/libmini_event.c @@ -32,9 +32,10 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "extension/libmini_event.h" -#include "context.h" +#include "config.h" #include "debug.h" +#include "types-internal.h" +#include "extension/libmini_event.h" #if defined(SCHED_DEBUG) && SCHED_DEBUG #include #endif diff --git a/src/extension/libuv.c b/src/extension/libuv.c index 8a9c2ec4..adf97835 100644 --- a/src/extension/libuv.c +++ b/src/extension/libuv.c @@ -32,9 +32,10 @@ */ #include "config.h" +#include "debug.h" +#include "types-internal.h" #include #include "getdns/getdns_ext_libuv.h" -#include "debug.h" #define UV_DEBUG 0