summaryrefslogtreecommitdiffstats
path: root/tools/lib/subcmd
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2017-01-05 16:44:05 +0100
committerArnaldo Carvalho de Melo2017-01-11 20:48:00 +0100
commitd5f805c09620dadc1a7806fbd46189d183f6c395 (patch)
tree82e16994bb00284db9cb6f53f677aea337648627 /tools/lib/subcmd
parentperf jvmti: Create libdir directory before installing libperf-jvmti.so (diff)
downloadkernel-qcow2-linux-d5f805c09620dadc1a7806fbd46189d183f6c395.tar.gz
kernel-qcow2-linux-d5f805c09620dadc1a7806fbd46189d183f6c395.tar.xz
kernel-qcow2-linux-d5f805c09620dadc1a7806fbd46189d183f6c395.zip
tools lib subcmd: Add missing linux/kernel.h include to subcmd.h
As it was getting the BUILD_BUG_ON_ZERO() definition by luck. Cc: Jiri Olsa <jolsa@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/n/tip-dh71o31ar72ajck8o2x4aoae@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/subcmd')
-rw-r--r--tools/lib/subcmd/parse-options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/subcmd/parse-options.h b/tools/lib/subcmd/parse-options.h
index 11c3be3bcce7..37e2d1a6fc2a 100644
--- a/tools/lib/subcmd/parse-options.h
+++ b/tools/lib/subcmd/parse-options.h
@@ -1,6 +1,7 @@
#ifndef __SUBCMD_PARSE_OPTIONS_H
#define __SUBCMD_PARSE_OPTIONS_H
+#include <linux/kernel.h>
#include <stdbool.h>
#include <stdint.h>