From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36652 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0i3p-0005i0-5p for qemu-devel@nongnu.org; Tue, 28 Sep 2010 17:50:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0i3n-00058A-U5 for qemu-devel@nongnu.org; Tue, 28 Sep 2010 17:50:05 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:36449) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0i3n-00057p-MA for qemu-devel@nongnu.org; Tue, 28 Sep 2010 17:50:03 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Tue, 28 Sep 2010 23:48:42 +0200 Message-Id: <1285710522-6061-1-git-send-email-andreas.faerber@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: andreas.faerber@web.de Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] tap: Remove double include of util.h List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl , =?UTF-8?q?Andreas=20F=C3=A4rber?= If neither of __FreeBSD__, __FreeBSD_kernel__ and __DragonFly__ is define= d, 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=C3=A4rber --- net/tap-bsd.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/net/tap-bsd.c b/net/tap-bsd.c index 959939e..0c0ca5b 100644 --- a/net/tap-bsd.c +++ b/net/tap-bsd.c @@ -37,10 +37,6 @@ #include #endif =20 -#if defined(__OpenBSD__) -#include -#endif - int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_= required) { int fd; --=20 1.7.3