Index: libcfa/src/bits/locks.hfa
===================================================================
--- libcfa/src/bits/locks.hfa	(revision 3d0560da9b3175b881f54d39d06313da7cdbae35)
+++ libcfa/src/bits/locks.hfa	(revision 833ba1303fbedf161abb0734b0b75b53f0b46999)
@@ -178,5 +178,5 @@
 		}
 
-		void ^?{}(single_sem & this) {}
+		void ^?{}(single_sem &) {}
 
 		bool wait(single_sem & this) {
@@ -234,5 +234,5 @@
 		}
 
-		void ^?{}(oneshot & this) {}
+		void ^?{}(oneshot &) {}
 
 		// Wait for the post, return immidiately if it already happened.
@@ -281,5 +281,5 @@
 		}
 
-		void ^?{}(future_t & this) {}
+		void ^?{}(future_t &) {}
 
 		// check if the future is available
Index: libcfa/src/concurrency/iofwd.hfa
===================================================================
--- libcfa/src/concurrency/iofwd.hfa	(revision 3d0560da9b3175b881f54d39d06313da7cdbae35)
+++ libcfa/src/concurrency/iofwd.hfa	(revision 833ba1303fbedf161abb0734b0b75b53f0b46999)
@@ -38,4 +38,11 @@
 	#define CFA_IO_ASYNC IOSQE_ASYNC
 #endif
+
+#if __OFF_T_MATCHES_OFF64_T
+	typedef __off64_t off_t;
+#else
+	typedef __off_t off_t;
+#endif
+typedef __off64_t off64_t;
 
 struct cluster;
Index: libcfa/src/concurrency/kernel.hfa
===================================================================
--- libcfa/src/concurrency/kernel.hfa	(revision 3d0560da9b3175b881f54d39d06313da7cdbae35)
+++ libcfa/src/concurrency/kernel.hfa	(revision 833ba1303fbedf161abb0734b0b75b53f0b46999)
@@ -159,5 +159,5 @@
 
 static inline void  ?{}(io_cancellation & this) { this.target = -1u; }
-static inline void ^?{}(io_cancellation & this) {}
+static inline void ^?{}(io_cancellation &) {}
 bool cancel(io_cancellation & this);
 
