aboutsummaryrefslogtreecommitdiffstats
path: root/block.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2010-05-10 16:48:20 -0700
committerDavid 'Digit' Turner <digit@android.com>2010-05-10 16:49:50 -0700
commit2c538c86c15d597cc875dc926e4e39285c5625df (patch)
treefd02b6da79b5e1375ab2ec5264ab339044e4a7da /block.c
parent5e097bf40ed22b422dce1fb2c58098d6c97cf0c6 (diff)
downloadexternal_qemu-2c538c86c15d597cc875dc926e4e39285c5625df.zip
external_qemu-2c538c86c15d597cc875dc926e4e39285c5625df.tar.gz
external_qemu-2c538c86c15d597cc875dc926e4e39285c5625df.tar.bz2
Upstream: Use CONFIG_BSD instead of _BSD and HOST_BSD
Also fix OS X build, which failed with a link error. Change-Id: Idd63f25dc1f46ea66da5727c7577def34f048c3c
Diffstat (limited to 'block.c')
-rw-r--r--block.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block.c b/block.c
index 844a32b..881bd2d 100644
--- a/block.c
+++ b/block.c
@@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
#include "config-host.h"
-#ifdef HOST_BSD
+#ifdef CONFIG_BSD
/* include native header before sys-queue.h */
#include <sys/queue.h>
#endif
@@ -32,7 +32,7 @@
#include "block_int.h"
#include "module.h"
-#ifdef HOST_BSD
+#ifdef CONFIG_BSD
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>