diff --git a/mozilla/widget/src/mac/nsCheckButton.cpp b/mozilla/widget/src/mac/nsCheckButton.cpp index d2565bd088a..9e5e925baa3 100644 --- a/mozilla/widget/src/mac/nsCheckButton.cpp +++ b/mozilla/widget/src/mac/nsCheckButton.cpp @@ -17,7 +17,9 @@ */ #include "nsCheckButton.h" - +#if TARGET_CARBON +#include +#endif NS_IMPL_ADDREF(nsCheckButton); NS_IMPL_RELEASE(nsCheckButton); diff --git a/mozilla/widget/src/mac/nsRadioButton.cpp b/mozilla/widget/src/mac/nsRadioButton.cpp index a4f63b15a4e..ac20d3adfb0 100644 --- a/mozilla/widget/src/mac/nsRadioButton.cpp +++ b/mozilla/widget/src/mac/nsRadioButton.cpp @@ -17,6 +17,9 @@ */ #include "nsRadioButton.h" +#if TARGET_CARBON +#include +#endif NS_IMPL_ADDREF(nsRadioButton); NS_IMPL_RELEASE(nsRadioButton);