Blame SOURCES/ncompress-4.2.4.4-lfs.patch

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