#define _LTTNG_WRAPPER_SPLICE_H
#include <linux/splice.h>
+#include <linux/fs.h>
ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe,
struct splice_pipe_desc *spd);
*/
#include <lttng/kernel-version.h>
+#include <linux/fs.h>
+#include <linux/splice.h>
+#include <wrapper/splice.h>
#if (defined(CONFIG_KALLSYMS) \
&& (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(4,2,0)))
#include <linux/kallsyms.h>
-#include <linux/fs.h>
-#include <linux/splice.h>
#include <wrapper/kallsyms.h>
static
#else
-#include <linux/fs.h>
-#include <linux/splice.h>
-
ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe,
struct splice_pipe_desc *spd)
{