From patchwork Tue Jan 13 18:46:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 5359 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by open-mesh.net (8.14.3/8.13.4/Debian-3sarge3) with SMTP id n0DImkGI028607 for ; Tue, 13 Jan 2009 18:48:48 GMT Received: (qmail invoked by alias); 13 Jan 2009 18:47:22 -0000 Received: from unknown (EHLO localhost) [89.246.220.223] by mail.gmx.net (mp002) with SMTP; 13 Jan 2009 19:47:22 +0100 X-Authenticated: #15668376 X-Provags-ID: V01U2FsdGVkX1+WCuR/YViWvmA7uur8qjhQ4qZfwRps1Y25oiVJmr MLsa5S1ePXdovc From: Sven Eckelmann To: b.a.t.m.a.n@open-mesh.net Date: Tue, 13 Jan 2009 19:46:16 +0100 Message-Id: <1231872376-21395-2-git-send-email-sven.eckelmann@gmx.de> X-Mailer: git-send-email 1.6.0.6 In-Reply-To: <1F97746F-9493-4343-A46A-B2A9A727E13B@7degrees.co.za> References: <1F97746F-9493-4343-A46A-B2A9A727E13B@7degrees.co.za> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.59 Subject: [B.A.T.M.A.N.] [PATCH] Fix compilation on freebsd X-BeenThere: b.a.t.m.a.n@open-mesh.net X-Mailman-Version: 2.1.11 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 18:48:54 -0000 FreeBSD doesn't include as much deep includes in their socket headers as the linux ones does. To support building on freebsd we must include them explicit. Signed-off-by: Sven Eckelmann CC: Antoine van Gelder --- vis-advanced/vis.c | 2 +- vis-advanced/vis.h | 2 ++ vis/vis.c | 2 +- vis/vis.h | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/vis-advanced/vis.c b/vis-advanced/vis.c index 721d690..69f69b8 100644 --- a/vis-advanced/vis.c +++ b/vis-advanced/vis.c @@ -23,10 +23,10 @@ #include +#include #include #include #include -#include #include #include #include diff --git a/vis-advanced/vis.h b/vis-advanced/vis.h index 6f6793e..a060c83 100644 --- a/vis-advanced/vis.h +++ b/vis-advanced/vis.h @@ -25,6 +25,8 @@ #include #include #include +#include +#include #include #include diff --git a/vis/vis.c b/vis/vis.c index 05f4096..c488365 100644 --- a/vis/vis.c +++ b/vis/vis.c @@ -23,10 +23,10 @@ #include +#include #include #include #include -#include #include #include #include diff --git a/vis/vis.h b/vis/vis.h index 8953b70..1f343d8 100644 --- a/vis/vis.h +++ b/vis/vis.h @@ -25,7 +25,9 @@ #include #include #include +#include #include +#include #include