lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

I did a little detective work:
From the FreeBSD 8.2.0 stdio.h:
#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809
typedef	__off_t		off_t;
There's nothing like it in the 7.4.0 stdio.h
Looking at the POSIX standard: off_t is required to be defined by stdio.h. Search for 'stdio.h' on this page:
FreeBSD 8 fixes the problem:

On Wed, Dec 28, 2011 at 9:52 AM, Roberto Ierusalimschy <> wrote:

Have you checked how/where fseeko and ftello are defined in the system
header files? As I pointed out in another message, maybe there is a bug
in the header files of this version.

-- Roberto