| commit | 918e4b757aa5e8a04811039068e2b56528505e28 | [log] [tgz] |
|---|---|---|
| author | Dan Albert <danalbert@google.com> | Tue Aug 11 15:59:43 2015 -0700 |
| committer | Dan Albert <danalbert@google.com> | Tue Aug 11 15:59:43 2015 -0700 |
| tree | 3411b10e729715602f6aad77adcd4969f2ed4adf | |
| parent | 31d0d7cbc1f4ed6a9295dd326104b8071478f924 [diff] [blame] |
Add missing includes for pid_t. Was being transitively included through libc++, but the libc++ update fixes some of the leaky headers (used to always include unistd.h!). Change-Id: I40caf74695bb75901bda24665b8d83a6914de9c4
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>