Some changelog updates.
[oweals/busybox.git] / gunzip.c
index 78ee1d3c1526834ce912b9d53590d1342fbd138b..d6382aed0a35fb11e41486ee4c3a93ad16278bdf 100644 (file)
--- a/gunzip.c
+++ b/gunzip.c
@@ -28,6 +28,7 @@
  */
 
 #include "internal.h"
+#include <getopt.h>
 
 static const char gunzip_usage[] =
        "gunzip [OPTION]... FILE\n"
@@ -746,7 +747,7 @@ int gunzip_main(int argc, char **argv)
                        exit(FALSE);
                }
        }
-       exit(exit_code);
+       return(exit_code);
 }