Build fix: brace-enclosed initlializer lists error with g++ 4.8
[lttng-tools.git] / src / common / compat / compat-fcntl.cpp
index 004939a3d3d247220b44f6e71b8673dad5e510a5..18b6fa3824cb87f672ed5eda8545149f236c6f09 100644 (file)
@@ -6,14 +6,14 @@
  */
 
 #define _LGPL_SOURCE
-#include <common/compat/fcntl.h>
-#include <common/macros.h>
+#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.035877 seconds and 4 git commands to generate.