diff options
author | Andreas Färber <andreas.faerber@web.de> | 2010-09-28 23:48:42 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-09-29 16:15:37 +0000 |
commit | 5251d6add68f343d7e47b5ef0e44694e98605503 (patch) | |
tree | f07ab6c0f4fc70c39d49322e2e0eac79991f7ef6 /net | |
parent | fd5723b385557bc77b93dfe5ab591813407686c0 (diff) | |
download | qemu-5251d6add68f343d7e47b5ef0e44694e98605503.zip qemu-5251d6add68f343d7e47b5ef0e44694e98605503.tar.gz qemu-5251d6add68f343d7e47b5ef0e44694e98605503.tar.bz2 |
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')
-rw-r--r-- | 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 3513075..efccfe0 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; |