Add unistd.h in gzlib.c

pull/1022/head
Arnab Animesh Das 2 months ago committed by GitHub
parent f8dfb1eddb
commit 37b67d45d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      gzlib.c

@ -4,6 +4,11 @@
*/
#include "gzguts.h"
#if defined( unix ) || defined( __unix ) || defined( __unix__ ) || \
(defined( __APPLE__ ) && defined( __MACH__ )) || \
HAVE_UNISTD_H
#include <unistd.h> /* lseek, read, write, close, chown, unlink, sleep, ftruncate, fsync */
#endif
#if defined(__DJGPP__)
# define LSEEK llseek

Loading…
Cancel
Save