perf tools: Include sys/param.h where needed

As it is going away from util.h, where it is not needed.

This is mostly for things like MAXPATHLEN, MAX() and MIN(), these later
two probably should go away in favor of its kernel sources replacements.

Link: http://lkml.kernel.org/n/tip-z1666f3fl3fqobxvjr5o2r39@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tento commit je obsažen v:
Arnaldo Carvalho de Melo
2017-04-19 18:51:14 -03:00
rodič 56e2e05644
revize 391e420600
9 změnil soubory, kde provedl 8 přidání a 1 odebrání

Zobrazit soubor

@@ -24,6 +24,7 @@
#include <stdio.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <sys/param.h>
#include "../perf.h"
#include "util.h"
#include <subcmd/exec-cmd.h>

Zobrazit soubor

@@ -6,6 +6,7 @@
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <sys/param.h>
#include "parse-events.h"
#include "evlist.h"