commit | 1b83d2db02cd7e673f58d028c7994184c1aa34aa | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Jan 09 13:03:22 2023 -0800 |
committer | Colin Cross <ccross@android.com> | Mon Jan 09 13:03:22 2023 -0800 |
tree | daa6abac6cf6ac0d5722916dcbc6bb3e3afa9729 | |
parent | 1ad9e8fdcdecccacfe7b2ee0aff4e801bc40685c [diff] |
Include sys/types.h for pid_t sys/types.h is required for the definition of pid_t. Fixes a build failure with musl libc: In file included from system/extras/memory_replay/AllocParser.cpp:21: system/extras/memory_replay/AllocParser.h:31:5: error: unknown type name 'pid_t' pid_t tid; Test: m USE_HOST_MUSL=true host-native -k Change-Id: I6506d23996abb034dc6f806791539f4e6d337bde