]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Remove needless asm/unistd.h include fixing build in some places
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 2 May 2019 13:26:23 +0000 (09:26 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 2 May 2019 20:00:20 +0000 (16:00 -0400)
commitf7eb4aa34a0baef91418fedb8cd1c7730d1d27d9
tree3c215dc2b45b0d210cc5acc0f987213ee9301588
parent7b2797f6f6137d88554d2e91f4ec9d2880394e8d
perf tools: Remove needless asm/unistd.h include fixing build in some places

We were including sys/syscall.h and asm/unistd.h, since sys/syscall.h
includes asm/unistd.h, sometimes this leads to the redefinition of
defines, breaking the build.

Noticed on ARC with uCLibc.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Arnaldo Carvalho de Melo <arnaldo.melo@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Rich Felker <dalias@libc.org>
Cc: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Link: https://lkml.kernel.org/n/tip-xjpf80o64i2ko74aj2jih0qg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/cloexec.c