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 | ef378b2057cf6bbdf7516a2af0ef1c5aa7b76d84 (patch) | |
tree | f07ab6c0f4fc70c39d49322e2e0eac79991f7ef6 /net | |
parent | 7c0dd52c46fe46661fbd9301ba3a3b81ddd3f70e (diff) | |
download | qemu-ef378b2057cf6bbdf7516a2af0ef1c5aa7b76d84.tar.gz qemu-ef378b2057cf6bbdf7516a2af0ef1c5aa7b76d84.tar.bz2 qemu-ef378b2057cf6bbdf7516a2af0ef1c5aa7b76d84.zip |
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 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; |