Turns out Dolphin uses some macros that clash on OSX. However thankfully, this include is only used in Frame.cpp.