X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=zip.c;h=756c8fd042be9d715d7a1230648ea8ed5ab20cf0;hb=1818209f5c4879522d69a09bedb0553543d6889e;hp=9dd167b73139561c73956f089be37e0065a1d462;hpb=c7e61475680fa226bd9b8bdd469cd66914e630f5;p=debian%2Fgzip diff --git a/zip.c b/zip.c index 9dd167b..756c8fd 100644 --- a/zip.c +++ b/zip.c @@ -1,6 +1,6 @@ /* zip.c -- compress files to the gzip or pkzip format - Copyright (C) 1997-1999, 2006-2007, 2009 Free Software Foundation, Inc. + Copyright (C) 1997-1999, 2006-2007, 2009-2010 Free Software Foundation, Inc. Copyright (C) 1992-1993 Jean-loup Gailly This program is free software; you can redistribute it and/or modify @@ -24,12 +24,8 @@ #include "gzip.h" #include "crypt.h" -#ifdef HAVE_UNISTD_H -# include -#endif -#ifdef HAVE_FCNTL_H -# include -#endif +#include +#include local ulg crc; /* crc on uncompressed file data */ off_t header_bytes; /* number of bytes in gzip header */