X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2F_PDCLIB_seek.c;h=52bb032a390479999348fbd2b36537c2dc3bd13d;hb=3309ec3ad8a5db735eaa2de7f5dc6a331d8e7319;hp=5a3f982bab000dd8f991b892251edf7f6a8ba072;hpb=99677c35ae2bfd651274191143e140d730fc9925;p=pdclib.old diff --git a/functions/stdio/_PDCLIB_seek.c b/functions/stdio/_PDCLIB_seek.c index 5a3f982..52bb032 100644 --- a/functions/stdio/_PDCLIB_seek.c +++ b/functions/stdio/_PDCLIB_seek.c @@ -8,8 +8,10 @@ #include #include #ifndef REGTEST +#include <_PDCLIB_io.h> -int_fast64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t offset, +int_fast64_t _PDCLIB_seek( FILE * stream, + int_fast64_t offset, int whence ) { int_fast64_t newPos;