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.11.0-rc1~83 X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=d21ec53c99395f0dad33afa0971e4a73ff2d0d83 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