From 2c538c86c15d597cc875dc926e4e39285c5625df Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Mon, 10 May 2010 16:48:20 -0700 Subject: Upstream: Use CONFIG_BSD instead of _BSD and HOST_BSD Also fix OS X build, which failed with a link error. Change-Id: Idd63f25dc1f46ea66da5727c7577def34f048c3c --- net-android.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net-android.c') diff --git a/net-android.c b/net-android.c index c4d45ce..e656f1e 100644 --- a/net-android.c +++ b/net-android.c @@ -54,7 +54,7 @@ #include #include #include -#ifdef HOST_BSD +#ifdef CONFIG_BSD #include #if defined(__FreeBSD__) || defined(__DragonFly__) #include @@ -1223,7 +1223,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; -- cgit v1.1