summary refs log tree commit diff
path: root/sysdeps/nacl/xstatconv.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/nacl/xstatconv.h')
-rw-r--r--sysdeps/nacl/xstatconv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/nacl/xstatconv.h b/sysdeps/nacl/xstatconv.h
index 2678594074..5ea437cfe6 100644
--- a/sysdeps/nacl/xstatconv.h
+++ b/sysdeps/nacl/xstatconv.h
@@ -20,6 +20,9 @@
 
 struct stat;
 
+/* stat.h uses nacl_abi_off_t, but irt.h defines only nacl_irt_off_t.  */
+typedef nacl_irt_off_t nacl_abi_off_t;
+
 /* We use this header to define struct nacl_abi_stat.  But we must avoid
    its excess declarations, and defining these names away is (marginally)
    cleaner than #undef'ing __native_client__.  */