From 7ed5e3e07f3c4dbb54bc99051813ccc6bd05ed21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sat, 14 Jan 2012 16:03:17 +0100
Subject: Include intrusive_ptr after intrusive_ptr_ref functions.

This avoids compilation problems with CLang.

diff --git a/SwifTools/Cocoa/CocoaUtil.h b/SwifTools/Cocoa/CocoaUtil.h
index 55fc325..5bb3612 100644
--- a/SwifTools/Cocoa/CocoaUtil.h
+++ b/SwifTools/Cocoa/CocoaUtil.h
@@ -11,8 +11,6 @@
 #define STD2NSSTRING(a) [NSString stringWithCString:a.c_str() encoding:NSUTF8StringEncoding]
 
 // Intrusive pointer for NSObjects
-#include <boost/intrusive_ptr.hpp>
-
 namespace boost {	
 	inline void intrusive_ptr_add_ref(NSObject* object) {
 		[object retain];
@@ -22,3 +20,8 @@ namespace boost {
 		[object release];
 	}
 }
+
+// Including intrusive_ptr after ref/release methods to avoid compilation 
+// errors with CLang
+
+#include <boost/intrusive_ptr.hpp>
-- 
cgit v0.10.2-6-g49f6