X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2F_PDCLIB_seek.c;h=f8dac3033704b3de365298ecba9f44904301913d;hp=5a3f982bab000dd8f991b892251edf7f6a8ba072;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=c5d49235e09fbd58416f10dec2799e61cf3431c8 diff --git a/functions/stdio/_PDCLIB_seek.c b/functions/stdio/_PDCLIB_seek.c index 5a3f982..f8dac30 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; @@ -27,7 +29,7 @@ int_fast64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t offse #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) {