From 5251d6add68f343d7e47b5ef0e44694e98605503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Tue, 28 Sep 2010 23:48:42 +0200 Subject: tap: Remove double include of util.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If neither of __FreeBSD__, __FreeBSD_kernel__ and __DragonFly__ is defined, util.h is included from tap-bsd.c. Don't include it again if __OpenBSD__ is defined. Cc: Blue Swirl Signed-off-by: Andreas Färber Signed-off-by: Blue Swirl --- net/tap-bsd.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/net/tap-bsd.c b/net/tap-bsd.c index 3513075337..efccfe08a7 100644 --- a/net/tap-bsd.c +++ b/net/tap-bsd.c @@ -37,10 +37,6 @@ #include #endif -#if defined(__OpenBSD__) -#include -#endif - int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_required) { int fd; -- cgit v1.2.3