From 4b03314e14c0395cc6c51692fd563f92f5b6f282 Mon Sep 17 00:00:00 2001 From: Kinglong Mee Date: Tue, 25 Apr 2017 08:28:25 -0400 Subject: libglusterfs: include sys/time.h avoid compiling error on MacOSX Change-Id: I3d30bacc3d5d085220dd85a3919207deef8bd1dd Signed-off-by: Kinglong Mee Reviewed-on: https://review.gluster.org/17114 Smoke: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Prashanth Pai Tested-by: Prashanth Pai NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System --- libglusterfs/src/syscall.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src') diff --git a/libglusterfs/src/syscall.h b/libglusterfs/src/syscall.h index b847186e724..0cb61b66d36 100644 --- a/libglusterfs/src/syscall.h +++ b/libglusterfs/src/syscall.h @@ -15,6 +15,7 @@ #include #include #include +#include /* GF follows the Linux XATTR definition, which differs in Darwin. */ #define GF_XATTR_CREATE 0x1 /* set value, fail if attr already exists */ -- cgit