From eb412da2375e6bbae5cc7a39db9e60fbbdd7aaa0 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Sun, 17 Nov 2013 02:17:59 +0100 Subject: NetBSD missing loff_t portability fix define loff_t as off_t, is is already long long anyway. BUG: 764655 Change-Id: I99edda9b804475a8696c2d32ccf8eae152851e21 Signed-off-by: Emmanuel Dreyfus Reviewed-on: http://review.gluster.org/6286 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/encryption/crypt/src/crypt.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xlators/encryption/crypt/src') diff --git a/xlators/encryption/crypt/src/crypt.h b/xlators/encryption/crypt/src/crypt.h index 01a8542ab..ff8eb571b 100644 --- a/xlators/encryption/crypt/src/crypt.h +++ b/xlators/encryption/crypt/src/crypt.h @@ -38,6 +38,10 @@ #define MASTER_VOL_KEY_SIZE (32) #define NMTD_VOL_KEY_SIZE (16) +#ifdef __NetBSD__ +typedef off_t loff_t; +#endif + struct crypt_key { uint32_t len; const char *label; -- cgit