Fix: add missing uaccess.h include from kstrtox.h wrapper
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Jan 2018 18:37:26 +0000 (13:37 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Jan 2018 18:37:26 +0000 (13:37 -0500)
Required to build lttng-modules against kernel < 3.0.0 on ARM.

Fixes #1148

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
wrapper/kstrtox.h

index 0f0666fe7d57e40f6169ebf15587a83c48dd8382..402662825369e829e7d2cffbdf9546f58d3c4559 100644 (file)
@@ -25,6 +25,8 @@
 
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0))
 
+#include <linux/uaccess.h>
+
 /* Excludes final \0. */
 #define LTTNG_MAX_UINT_CHAR 10
 
This page took 0.025667 seconds and 4 git commands to generate.