Skip to content

Commit

Permalink
Fix mantic release v1.21 (#11399)
Browse files Browse the repository at this point in the history
* include header for lseek to fix the builds on mantic (#11390)

* Include unistd.h in gzguts.h for mantis build (#11396)

* update 3rdParty for fixing mantic
  • Loading branch information
adrpo committed Oct 19, 2023
1 parent 0bc3d29 commit 023e1ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OMCompiler/3rdParty
Submodule 3rdParty updated 176 files
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
# define read _read
# define write _write
# define close _close
#else
#include <unistd.h>
#endif

#ifdef NO_DEFLATE /* for compatibility with old definition */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@
# define LSEEK _lseeki64
#else
#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
#include <sys/types.h>
#include <unistd.h>
# define LSEEK lseek64
#else
#include <sys/types.h>
#include <unistd.h>
# define LSEEK lseek
#endif
#endif
Expand Down

0 comments on commit 023e1ea

Please sign in to comment.