X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fcompat-fcntl.c;h=fc6b2d5ca2e40a09c0b9e6eda6057b89e65a6557;hb=9410f65c84a2729caa69862eb689d145f1ef47ca;hp=c6c6b4e994962d84c353eaad21bb2013dfca9b4d;hpb=cc0acbd149005db7b944856be2aff499f38c0d64;p=lttng-tools.git diff --git a/src/common/compat/compat-fcntl.c b/src/common/compat/compat-fcntl.c index c6c6b4e99..fc6b2d5ca 100644 --- a/src/common/compat/compat-fcntl.c +++ b/src/common/compat/compat-fcntl.c @@ -17,10 +17,12 @@ #define _LGPL_SOURCE #include +#include #include #ifdef __linux__ +LTTNG_HIDDEN int compat_sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) {