Fix: old kernels need module.h included before vermagic.h
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Apr 2015 16:32:19 +0000 (12:32 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Apr 2015 16:32:54 +0000 (12:32 -0400)
This is at least true for 3.2.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-kernel-version.h

index 8fad8b09c98b4b44b5e9fdacfbd6cc9548d00d20..53a6a363a2c3052df45d32abe45118709ed286bf 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 #include <linux/version.h>
+#include <linux/module.h>
 #include <linux/vermagic.h>
 
 /*
This page took 0.025784 seconds and 4 git commands to generate.