Blame SOURCES/ncompress-4.2.4.4-lfs.patch

02babe
diff --git a/compress42.c b/compress42.c
02babe
index 804d099..b3b3add 100644
02babe
--- a/compress42.c
02babe
+++ b/compress42.c
02babe
@@ -130,6 +130,7 @@
02babe
  *   Add variable bit length output.
02babe
  *
02babe
  */
02babe
+#include	<unistd.h>
02babe
 #include	<stdio.h>
02babe
 #include	<stdlib.h>
02babe
 #include	<string.h>
02babe
@@ -538,8 +539,8 @@ int				remove_ofname = 0;	/* Remove output file on a error				*/
02babe
 char 			ofname[MAXPATHLEN];	/* Output filename								*/
02babe
 int				fgnd_flag = 0;		/* Running in background (SIGINT=SIGIGN)		*/
02babe
 
02babe
-long 			bytes_in;			/* Total number of byte from input				*/
02babe
-long 			bytes_out;			/* Total number of byte to output				*/
02babe
+long long bytes_in;			/* Total number of byte from input				*/
02babe
+long long bytes_out;			/* Total number of byte to output				*/
02babe
 
02babe
 /*
02babe
  * 8086 & 80286 Has a problem with array bigger than 64K so fake the array