diff options
author | Juan Quintela <quintela@redhat.com> | 2009-07-27 16:12:56 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:09:20 -0500 |
commit | 71e72a19bafda97c9e97b089499fdc050e96a631 (patch) | |
tree | fdd6ebb4dd37e6aef7c80db2d6a1231fcad9fa3d /net.c | |
parent | 43da3c088c00a1113643abb0c70379140de39dd8 (diff) |
rename HOST_BSD to CONFIG_BSD
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |