diff options
author | Raghavendra Talur <rtalur@redhat.com> | 2015-12-31 16:39:21 +0530 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-01-14 03:35:47 -0800 |
commit | ced0f360e4606ecf66a73ece54553523567f9995 (patch) | |
tree | 30844985e34e32f5780fc27e97ba901a91e8d04a /tests/basic/quota.c | |
parent | 1b9174d35dc113f97fd5cec811633853cef269f3 (diff) |
tests: include unistd.h for fdatasync
gcc throws a warning if unistd.h is not included.
Change-Id: I37f35f60c84fb6667a503696063a4c9987d8ab2f
BUG: 1251592
Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
Reviewed-on: http://review.gluster.org/13128
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'tests/basic/quota.c')
-rw-r--r-- | tests/basic/quota.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basic/quota.c b/tests/basic/quota.c index 50f56d6d718..f69b0ea9bc5 100644 --- a/tests/basic/quota.c +++ b/tests/basic/quota.c @@ -5,6 +5,7 @@ #include <fcntl.h> #include <errno.h> #include <string.h> +#include <unistd.h> ssize_t nwrite (int fd, const void *buf, size_t count) |