From 6710d21d9f7fce14cb77dc30c16f32e8705bf201 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Thu, 12 May 2016 21:18:17 +0000 Subject: Pollute more places with off64_t and add __off64_t Despite the private namespace, several broken ports depend on the __off64_t name for the type. Export it exactly the same way off_t and __off_t are exported. A follow-up to r299456. Suggested by: php56 Sponsored by: EMC / Isilon Storage Division --- sys/sys/_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/sys/_types.h') diff --git a/sys/sys/_types.h b/sys/sys/_types.h index 16039a6da16b..ecc1c7e05e4c 100644 --- a/sys/sys/_types.h +++ b/sys/sys/_types.h @@ -51,6 +51,7 @@ typedef int __accmode_t; /* access permissions */ typedef int __nl_item; typedef __uint16_t __nlink_t; /* link count */ typedef __int64_t __off_t; /* file offset */ +typedef __int64_t __off64_t; /* file offset (alias) */ typedef __int32_t __pid_t; /* process [group] */ typedef __int64_t __rlim_t; /* resource limit - intentionally */ /* signed, because of legacy code */ -- cgit v1.2.3