diff options
Diffstat (limited to 'include/c.h')
-rw-r--r-- | include/c.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/c.h b/include/c.h index cfee616fb..83be3565c 100644 --- a/include/c.h +++ b/include/c.h @@ -69,5 +69,9 @@ static inline __attribute__((const)) int is_power_of_2(unsigned long num) return (num != 0 && ((num & (num - 1)) == 0)); } +#ifndef HAVE_LOFF_T +typedef int64_t loff_t; +#endif + #endif /* UTIL_LINUX_C_H */ |