*** zipup.c.bak	Sun Oct 16 20:21:39 1994
--- zipup.c	Thu Dec 22 07:36:05 1994
***************
*** 14,22 ****
  
  #define NOCPYRT         /* this is not a main module */
  #include <ctype.h>
! #ifdef __QNX__
! #include <unistd.h>
! #endif
  #include "zip.h"
  #include "zrevisio.h"
  
--- 14,20 ----
  
  #define NOCPYRT         /* this is not a main module */
  #include <ctype.h>
! #include "system.h"
  #include "zip.h"
  #include "zrevisio.h"
  
***************
*** 39,47 ****
  #    include <fcntl.h>
  #    define fhow (O_RDONLY|O_BINARY)
  #  else /* !MSDOS */
! #if !(defined(AMIGA) || defined(__NetBSD__))
       long lseek();
! #endif /* AMIGA */
  #    define fhow 0
  #  endif /* ?MSDOS */
     typedef int ftype;
--- 37,45 ----
  #    include <fcntl.h>
  #    define fhow (O_RDONLY|O_BINARY)
  #  else /* !MSDOS */
! #ifndef HAVE_UNISTD_H
       long lseek();
! #endif /* !HAVE_UNISTD_H */
  #    define fhow 0
  #  endif /* ?MSDOS */
     typedef int ftype;
