From 14581937282486ab7ce057ec79f226181ef1d45d Mon Sep 17 00:00:00 2001 From: Benjamin Fleischer Date: Tue, 8 Jan 2013 14:53:09 +0100 Subject: Add unnamed semaphore implementation for Mac OS X In the past we relied on libosxfuse including a working unnamed semaphore implmentation for Mac OS X. This will not be the case in future releases of OSXFUSE, therefore we need to add our own implementation. --- sshfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sshfs.c') diff --git a/sshfs.c b/sshfs.c index bf65aea..5658412 100644 --- a/sshfs.c +++ b/sshfs.c @@ -23,7 +23,7 @@ #include #include #include -#if !__APPLE__ +#ifndef __APPLE__ # include #endif #include @@ -46,6 +46,7 @@ #ifdef __APPLE__ # include # include +# include #endif #include "cache.h" -- cgit v1.2.3