summaryrefslogtreecommitdiffstats
path: root/xlators/features/snapview-server
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-08-08 02:59:34 -0700
committerHarshavardhana <harsha@harshavardhana.net>2014-08-09 22:53:06 -0700
commita1dff6498afaed5e87b383f6de6c183f52d7db41 (patch)
treeac6a3aa46e678d21c86eaea6ff4bf0c7318a45bb /xlators/features/snapview-server
parentb97ade3b05acf3784b0df11421e6b78fca0cfe85 (diff)
osx: snapview-server fails to build on OSX use 'syscall.h'
Change-Id: I29aeb32a972ed6d19e779b9e79fce9a489848497 BUG: 1089172 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/8436 Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/features/snapview-server')
-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;