From 13480795d5a474ff1e411c8fd2ad077f34af3261 Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Mon, 10 May 1999 23:09:34 +0000 Subject: [PATCH] added ControlDefinitions.h for Carbon. git-svn-id: svn://10.0.0.236/trunk@31023 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/mac/nsCheckButton.cpp | 4 +++- mozilla/widget/src/mac/nsRadioButton.cpp | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) 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);