aboutsummaryrefslogtreecommitdiff
path: root/sshfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshfs.c')
-rw-r--r--sshfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshfs.c b/sshfs.c
index bf65aea..5658412 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <stdint.h>
#include <errno.h>
-#if !__APPLE__
+#ifndef __APPLE__
# include <semaphore.h>
#endif
#include <pthread.h>
@@ -46,6 +46,7 @@
#ifdef __APPLE__
# include <strings.h>
# include <libgen.h>
+# include <darwin_compat.h>
#endif
#include "cache.h"