Merge "Add missing includes for pid_t."
diff --git a/simpleperf/environment.h b/simpleperf/environment.h
index aa6f5eb..a0c085d 100644
--- a/simpleperf/environment.h
+++ b/simpleperf/environment.h
@@ -17,6 +17,8 @@
#ifndef SIMPLE_PERF_ENVIRONMENT_H_
#define SIMPLE_PERF_ENVIRONMENT_H_
+#include <sys/types.h>
+
#include <functional>
#include <set>
#include <string>
diff --git a/simpleperf/record.h b/simpleperf/record.h
index c63a38e..c3791b4 100644
--- a/simpleperf/record.h
+++ b/simpleperf/record.h
@@ -17,6 +17,8 @@
#ifndef SIMPLE_PERF_RECORD_H_
#define SIMPLE_PERF_RECORD_H_
+#include <sys/types.h>
+
#include <string>
#include <vector>