From 2364b118f2189d1d8d447c199695fefa71952bf8 Mon Sep 17 00:00:00 2001 From: Fabian Raetz Date: Fri, 2 May 2014 20:45:03 +0200 Subject: [PATCH] reorder includes to compile on OpenBSD From getifaddr(3) manual: "If both and are being included, must be included before " http://www.openbsd.org/cgi-bin/man.cgi?query=getifaddrs&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html --- src/compat.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/compat.h b/src/compat.h index 3924445b1..8fbafb6cc 100644 --- a/src/compat.h +++ b/src/compat.h @@ -28,16 +28,16 @@ #include #include #else +#include +#include +#include #include +#include +#include #include #include #include -#include #include -#include -#include -#include -#include #include #endif