Blame SOURCES/ncompress-4.2.4.4-lfs.patch

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