It seems that MacTypes.h:646 tries to redefine a type that has already been defined if <CoreFoundation CFBundle.h=""> is included.
i don't know if a precompiler command like #if !defined(MACTYPES) could fix this. So the types won't be redefined again.
The error message:
error: multiple types in one declaration
error: declaration does not declare anything
The line causing the error:
typedef UInt8 Byte;