From: Mathieu Desnoyers Date: Wed, 17 Jan 2018 18:37:26 +0000 (-0500) Subject: Fix: add missing uaccess.h include from kstrtox.h wrapper X-Git-Tag: v2.10.5~6 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=cf54e2110324f6e372b86e265f3040b71893329b Fix: add missing uaccess.h include from kstrtox.h wrapper Required to build lttng-modules against kernel < 3.0.0 on ARM. Fixes #1148 Signed-off-by: Mathieu Desnoyers --- diff --git a/wrapper/kstrtox.h b/wrapper/kstrtox.h index 0f0666fe..40266282 100644 --- a/wrapper/kstrtox.h +++ b/wrapper/kstrtox.h @@ -25,6 +25,8 @@ #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0)) +#include + /* Excludes final \0. */ #define LTTNG_MAX_UINT_CHAR 10