mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
perf tools: Move HAS_BOOL define to where perl headers are used
This is a perl specific hack, so move it from util.h to where perl headers are used. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-4igctbinuom2sr6g4b03jqht@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
98521b3869
commit
7de96c3e75
2 changed files with 3 additions and 2 deletions
|
@ -28,7 +28,9 @@
|
|||
#include <linux/bitmap.h>
|
||||
#include <linux/time64.h>
|
||||
|
||||
#include "../util.h"
|
||||
#include <stdbool.h>
|
||||
/* perl needs the following define, right after including stdbool.h */
|
||||
#define HAS_BOOL
|
||||
#include <EXTERN.h>
|
||||
#include <perl.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue