aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Foundation/GTMNSNumber+64Bit.h3
-rw-r--r--iPhone/GTMRoundedRectPath.m2
2 files changed, 5 insertions, 0 deletions
diff --git a/Foundation/GTMNSNumber+64Bit.h b/Foundation/GTMNSNumber+64Bit.h
index a5c31e1..7ddab29 100644
--- a/Foundation/GTMNSNumber+64Bit.h
+++ b/Foundation/GTMNSNumber+64Bit.h
@@ -18,6 +18,9 @@
#import <Foundation/Foundation.h>
#import "GTMDefines.h"
+#if GTM_IPHONE_SDK
+#import <CoreGraphics/CoreGraphics.h>
+#endif // GTM_IPHONE_SDK
// Adds support for working with NSIntegers,
// NSUIntegers, CGFloats and NSNumbers (rdar://5812091)
diff --git a/iPhone/GTMRoundedRectPath.m b/iPhone/GTMRoundedRectPath.m
index bb2c42c..823c9f9 100644
--- a/iPhone/GTMRoundedRectPath.m
+++ b/iPhone/GTMRoundedRectPath.m
@@ -17,6 +17,8 @@
//
#include "GTMRoundedRectPath.h"
+#include <Foundation/Foundation.h>
+
void GTMCGContextAddRoundRect(CGContextRef context,
CGRect rect,
CGFloat radius) {