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.9.8~6 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5ccd92b986899e07d327d085f220c3cc3c7533fa;p=lttng-modules.git 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