On some systems, loff_t does not exist. Define it as int64_t in that case. Signed-off-by: Fabian Groffen <grobian@xxxxxxxxxx> diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -574,6 +574,7 @@ AC_CHECK_TYPES([union semun], [], [], [[ #include <sys/sem.h> ]]) +AC_CHECK_TYPES(loff_t) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ diff --git a/include/c.h b/include/c.h --- a/include/c.h +++ b/include/c.h @@ -93,5 +93,9 @@ } #endif +#ifndef HAVE_LOFF_T +typedef int64_t loff_t; +#endif + #endif /* UTIL_LINUX_C_H */ -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html