]> git.ipfire.org Git - thirdparty/libbsd.git/commit
funopen: Replace off64_t with off_t in funopen_seek()
authorKhem Raj <raj.khem@gmail.com>
Thu, 15 Dec 2022 17:02:22 +0000 (09:02 -0800)
committerGuillem Jover <guillem@hadrons.org>
Sat, 17 Dec 2022 17:22:26 +0000 (18:22 +0100)
commitec88b7bbbc9ef262b22302419ae14fce5fc7b1d8
treefb5168f0fe63db9ac0b253440bc181cba2205e73
parent23377191e85267c091d8ae79cb1dd5c21a6cf305
funopen: Replace off64_t with off_t in funopen_seek()

AC_SYS_LARGEFILE in configure.ac is setting needed defines to make
64bit off_t on relevant platforms.

Fixes build on musl:

| src/funopen.c:68:28: error: unknown type name 'off64_t'; did you mean 'off_t'?
| funopen_seek(void *cookie, off64_t *offset, int whence)
|                            ^~~~~~~
|                            off_t

Closes: !24
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Guillem Jover <guillem@hadrons.org>
src/funopen.c