compat: off64_t is not defined by musl
[lttng-tools.git] / src / common / compat / compat-fcntl.cpp
index 13ba512b8884699d325d90aad36e22e1d9c41c70..18b6fa3824cb87f672ed5eda8545149f236c6f09 100644 (file)
@@ -8,12 +8,12 @@
 #define _LGPL_SOURCE
 #include <common/compat/fcntl.hpp>
 #include <common/macros.hpp>
+
 #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);
This page took 0.022728 seconds and 4 git commands to generate.