projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compat: off64_t is not defined by musl
[lttng-tools.git]
/
src
/
common
/
compat
/
compat-fcntl.cpp
diff --git
a/src/common/compat/compat-fcntl.cpp
b/src/common/compat/compat-fcntl.cpp
index 13ba512b8884699d325d90aad36e22e1d9c41c70..18b6fa3824cb87f672ed5eda8545149f236c6f09 100644
(file)
--- a/
src/common/compat/compat-fcntl.cpp
+++ b/
src/common/compat/compat-fcntl.cpp
@@
-8,12
+8,12
@@
#define _LGPL_SOURCE
#include <common/compat/fcntl.hpp>
#include <common/macros.hpp>
#define _LGPL_SOURCE
#include <common/compat/fcntl.hpp>
#include <common/macros.hpp>
+
#include <unistd.h>
#ifdef __linux__
#include <unistd.h>
#ifdef __linux__
-int compat_sync_file_range(int fd, off64_t offset, off64_t nbytes,
- unsigned int flags)
+int compat_sync_file_range(int fd, off_t offset, off_t nbytes, unsigned int flags)
{
#ifdef HAVE_SYNC_FILE_RANGE
return sync_file_range(fd, offset, nbytes, flags);
{
#ifdef HAVE_SYNC_FILE_RANGE
return sync_file_range(fd, offset, nbytes, flags);
This page took
0.023573 seconds
and
4
git commands to generate.