summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zlib/zconf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/zlib/zconf.h b/zlib/zconf.h
index 9987a7755..95c1890c2 100644
--- a/zlib/zconf.h
+++ b/zlib/zconf.h
@@ -1,3 +1,8 @@
+/* FLTK *************************************************************** */
+/* FLTK Comments marked with FLTK show modifications for FLTK which */
+/* FLTK should probably be preserved when zlib is upgraded. */
+/* FLTK *************************************************************** */
+
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-2013 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
@@ -8,6 +13,10 @@
#ifndef ZCONF_H
#define ZCONF_H
+#if ! (defined(_WIN32) || defined(WIN32)) /* FLTK */
+# define HAVE_UNISTD_H /* FLTK */
+#endif /* FLTK */
+
/*
* If you *really* need a unique prefix for all types and library functions,
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.