OSDN Git Service

perf data: Add missing unistd.h header needed for pid_t
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Jul 2022 21:09:08 +0000 (18:09 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Jul 2022 21:10:43 +0000 (18:10 -0300)
commitade535395088aa01a0f1f53ff95da04126eef3f3
tree971cb701623401cac4b18424d8630c48b3f66493
parent1ab55323c5ef379e96ff6b225cd95e80fef4939a
perf data: Add missing unistd.h header needed for pid_t

Noticed when processing 'perf kwork' that includes util/data.h without,
by luck, having included unistd.h indirectly to get the pid_t typedef.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/data.h