X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fcompat-fcntl.c;h=a0f4a199732ed40f6f52e50d7381e8d52566cd72;hb=refs%2Fheads%2Fbabeltrace_trace_merging;hp=b462fd76c9c77fa8c15e60b3ae2b5a221f9fe38e;hpb=efc18125536a8a4679d78fe90883414f8e34a8f2;p=lttng-tools.git diff --git a/src/common/compat/compat-fcntl.c b/src/common/compat/compat-fcntl.c index b462fd76c..a0f4a1997 100644 --- a/src/common/compat/compat-fcntl.c +++ b/src/common/compat/compat-fcntl.c @@ -15,12 +15,13 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define _GNU_SOURCE +#define _LGPL_SOURCE #include #include #ifdef __linux__ +LTTNG_HIDDEN int compat_sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) {