summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-08-14 13:11:46 -0700
committerHarshavardhana <harsha@harshavardhana.net>2014-08-15 12:21:50 -0700
commit873e9870c8cf8926b6a9aa43bbbb7d76b0994cc1 (patch)
treee13314ef9c83156252ea9c968497b88d0a65e5ec
parent2f9db25fe5a2a488fb6e7033fae3bf2ef6093dfe (diff)
osx: snapview-server fails to build on OSX use 'syscall.h'
Change-Id: Ib9443913abb89c6a04a8723bced4c77128047bd0 BUG: 1130307 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/8487 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
-rw-r--r--xlators/features/snapview-server/src/snapview-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/snapview-server/src/snapview-server.c b/xlators/features/snapview-server/src/snapview-server.c
index 99965a4ccef..4b6827c0d0a 100644
--- a/xlators/features/snapview-server/src/snapview-server.c
+++ b/xlators/features/snapview-server/src/snapview-server.c
@@ -19,6 +19,7 @@
#include "rpc-clnt.h"
#include "xdr-generic.h"
#include "protocol-common.h"
+#include "syscall.h"
#include <pthread.h>
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;