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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 1ab55323
......@@ -4,6 +4,7 @@
#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>
#include <linux/types.h>
enum perf_data_mode {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment