From: Andreas Färber Date: Tue, 28 Sep 2010 21:48:42 +0000 (+0200) Subject: tap: Remove double include of util.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5251d6add68f343d7e47b5ef0e44694e98605503;p=qemu.git tap: Remove double include of util.h 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 --- 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;