X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fcompat-fcntl.c;h=fc6b2d5ca2e40a09c0b9e6eda6057b89e65a6557;hp=7ff63a3a109146e81cb696691f780b6d1117c013;hb=6ec9dc48cf7f3d5e1fc01f741197c0bacc94bbf0;hpb=281047b8a004f2c2d9aea14f7e58166d0cd93775 diff --git a/src/common/compat/compat-fcntl.c b/src/common/compat/compat-fcntl.c index 7ff63a3a1..fc6b2d5ca 100644 --- a/src/common/compat/compat-fcntl.c +++ b/src/common/compat/compat-fcntl.c @@ -15,11 +15,14 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define _GNU_SOURCE +#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) {