diff --git a/gnu/usr.bin/sort/config.h b/gnu/usr.bin/sort/config.h index 279456cb153..44f944c04b0 100644 --- a/gnu/usr.bin/sort/config.h +++ b/gnu/usr.bin/sort/config.h @@ -1240,7 +1240,7 @@ #define PACKAGE_VERSION "5.3.0-20040812-FreeBSD" /* the number of pending output bytes on stream `fp' */ -#define PENDING_OUTPUT_N_BYTES __fgetpendout(fp) +#define PENDING_OUTPUT_N_BYTES fp->_p - fp->_bf._base /* Define if exists and defines unusable PRI* macros. */ /* #undef PRI_MACROS_BROKEN */