Skip to content

Commit e89eebd

Browse files
authored
Include unistd.h in gzguts.h for mantis build (#11396)
1 parent 493bb18 commit e89eebd

File tree

1 file changed

+2
-0
lines changed
  • OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib

1 file changed

+2
-0
lines changed

OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/gzguts.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
# define read _read
4949
# define write _write
5050
# define close _close
51+
#else
52+
#include <unistd.h>
5153
#endif
5254

5355
#ifdef NO_DEFLATE /* for compatibility with old definition */

0 commit comments

Comments
 (0)