Fix: include kernel.h in wrapper/limits.h
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Nov 2020 21:03:15 +0000 (16:03 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Nov 2020 21:03:15 +0000 (16:03 -0500)
linux/kernel.h is present in older kernels, but linux/limits.h is not.

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

index 832c2f7fbb7f295805392d962e47287fd0545a49..cadd3c83d6915c5b27753db2020e4bf47099dabd 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef _LTTNG_WRAPPER_LIMITS_H
 #define _LTTNG_WRAPPER_LIMITS_H
 
-#include <linux/limits.h>
+#include <linux/kernel.h>
 
 #ifndef SIZE_MAX
 #define SIZE_MAX       (~(size_t)0)
This page took 0.027564 seconds and 4 git commands to generate.