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>
This commit is contained in:
Arnaldo Carvalho de Melo 2022-07-25 18:09:08 -03:00
parent 1ab55323c5
commit ade5353950
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>
#include <linux/types.h>
enum perf_data_mode {