mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
rename HOST_BSD to CONFIG_BSD
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
43da3c088c
commit
71e72a19ba
12 changed files with 22 additions and 22 deletions
6
net.c
6
net.c
|
@ -29,7 +29,7 @@
|
|||
#include <sys/time.h>
|
||||
#include <zlib.h>
|
||||
|
||||
/* Needed early for HOST_BSD etc. */
|
||||
/* Needed early for CONFIG_BSD etc. */
|
||||
#include "config-host.h"
|
||||
|
||||
#ifndef _WIN32
|
||||
|
@ -52,7 +52,7 @@
|
|||
#include <dirent.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/select.h>
|
||||
#ifdef HOST_BSD
|
||||
#ifdef CONFIG_BSD
|
||||
#include <sys/stat.h>
|
||||
#if defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
#include <libutil.h>
|
||||
|
@ -1435,7 +1435,7 @@ static TAPState *net_tap_fd_init(VLANState *vlan,
|
|||
return s;
|
||||
}
|
||||
|
||||
#if defined (HOST_BSD) || defined (__FreeBSD_kernel__)
|
||||
#if defined (CONFIG_BSD) || defined (__FreeBSD_kernel__)
|
||||
static int tap_open(char *ifname, int ifname_size)
|
||||
{
|
||||
int fd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue