aboutsummaryrefslogtreecommitdiff
path: root/net/tap-bsd.c
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2010-09-28 23:48:42 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-09-29 16:15:37 +0000
commit5251d6add68f343d7e47b5ef0e44694e98605503 (patch)
treef07ab6c0f4fc70c39d49322e2e0eac79991f7ef6 /net/tap-bsd.c
parentfd5723b385557bc77b93dfe5ab591813407686c0 (diff)
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 <blauwirbel@gmail.com> Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'net/tap-bsd.c')
-rw-r--r--net/tap-bsd.c4
1 files changed, 0 insertions, 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 <util.h>
#endif
-#if defined(__OpenBSD__)
-#include <util.h>
-#endif
-
int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_required)
{
int fd;