summaryrefslogtreecommitdiff
path: root/disk/part_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'disk/part_mac.c')
-rw-r--r--disk/part_mac.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/disk/part_mac.c b/disk/part_mac.c
index 6e055af9155..8c23e211f9c 100644
--- a/disk/part_mac.c
+++ b/disk/part_mac.c
@@ -34,7 +34,11 @@
#include <ide.h>
#include "part_mac.h"
-#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || (CONFIG_COMMANDS & CFG_CMD_SCSI)) && defined(CONFIG_MAC_PARTITION)
+#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \
+ (CONFIG_COMMANDS & CFG_CMD_SCSI) || \
+ (CONFIG_COMMANDS & CFG_CMD_USB) || \
+ defined(CONFIG_MMC) || \
+ defined(CONFIG_SYSTEMACE) ) && defined(CONFIG_MAC_PARTITION)
/* stdlib.h causes some compatibility problems; should fixe these! -- wd */
#ifndef __ldiv_t_defined