Skip to content

Commit

Permalink
include header for lseek to fix the builds on mantic (#11390)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Oct 18, 2023
1 parent 06b5c1c commit 37e61b7
Showing 1 changed file with 4 additions and 0 deletions.
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 37e61b7

Please sign in to comment.