diff -ur lynx2.8.9dev.15.orig/WWW/Library/Implementation/HTUtils.h lynx2.8.9dev.15/WWW/Library/Implementation/HTUtils.h --- lynx2.8.9dev.15.orig/WWW/Library/Implementation/HTUtils.h Sun Jul 2 22:40:14 2017 +++ lynx2.8.9dev.15/WWW/Library/Implementation/HTUtils.h Fri Jul 7 17:50:11 2017 @@ -585,7 +585,7 @@ * Printing/scanning-formats for "off_t", as well as cast needed to fit. */ #if defined(HAVE_LONG_LONG) && defined(HAVE_INTTYPES_H) && defined(SIZEOF_OFF_T) -#if (SIZEOF_OFF_T == 8) && defined(PRId64) +#if (SIZEOF_OFF_T == 8) && defined(PRId64) && defined(SCNd64) #define PRI_off_t PRId64 #define SCN_off_t SCNd64