perf tools: Include errno.h where needed

Removing it from util.h, part of an effort to disentangle the includes
hell, that makes changes to util.h or something included by it to cause
a complete rebuild of the tools.

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-ztrjy52q1rqcchuy3rubfgt2@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo
2017-04-18 10:46:11 -03:00
父節點 a067558e2f
當前提交 a43783aeec
共有 95 個文件被更改,包括 96 次插入2 次删除

查看文件

@@ -7,6 +7,7 @@
#include "arch-tests.h"
#include <sys/mman.h>
#include <errno.h>
#include <string.h>
static pid_t spawn(void)