summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/syscall.h
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2016-04-18 19:24:41 +0200
committerNiels de Vos <ndevos@redhat.com>2016-04-25 01:18:42 -0700
commit30b66ef3750ece0fb56e673afaca7948d53511e1 (patch)
tree681a7d211d597223c0051251429a3330e84edd14 /libglusterfs/src/syscall.h
parent68034a3f92a779f8fe67525472f450d473769dd3 (diff)
build: reduce warnings when building the syscall compatibility layer
For whatever reason my Fedora 23 started to complain loudly when compiling syscall.c. Change-Id: I72d278d6dc9abb77018c2590c113552383b639d1 BUG: 1198849 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/14034 Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'libglusterfs/src/syscall.h')
-rw-r--r--libglusterfs/src/syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/syscall.h b/libglusterfs/src/syscall.h
index 10b70927415..b549f6a1b3c 100644
--- a/libglusterfs/src/syscall.h
+++ b/libglusterfs/src/syscall.h
@@ -14,6 +14,7 @@
#include <dirent.h>
#include <sys/uio.h>
#include <sys/statvfs.h>
+#include <sys/stat.h>
/* GF follows the Linux XATTR definition, which differs in Darwin. */
#define GF_XATTR_CREATE 0x1 /* set value, fail if attr already exists */