Skip to content
Snippets Groups Projects
Commit 5251d6ad authored by Andreas Färber's avatar Andreas Färber Committed by Blue Swirl
Browse files

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: default avatarAndreas Färber <andreas.faerber@web.de>
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent fd5723b3
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment