mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
perf arch x86: Add missing stdlib.h to get free() prototype
It was getting indirectly, out of luck, add it. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
743ef218c2
commit
6bc13cab57
2 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
#include <linux/types.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/zalloc.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../../../util/event.h"
|
||||
#include "../../../util/synthetic-events.h"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <linux/types.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../../../util/debug.h"
|
||||
#include "../../../util/tsc.h"
|
||||
|
|
Loading…
Reference in a new issue