diff --git a/xtrn/sbl/sbl.c b/xtrn/sbl/sbl.c
index e8442bf3880d63e12a2f6ec6ae43f930964557ce..b069e59ce3f7c42c90ef687a54d188fce5bae774 100644
--- a/xtrn/sbl/sbl.c
+++ b/xtrn/sbl/sbl.c
@@ -1226,7 +1226,7 @@ int main(int argc, char **argv)
 					pause(); }
 				ch=yesno("Display extended information");
 				cls();
-				while(!eof(file) && !aborted) {
+				while(/* !eof(file) && not on unix */ !aborted) {
 					if(read(file,&i,2)!=2)
 						break;
 					fseek(stream,(long)i*sizeof(bbs_t),SEEK_SET);