mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-15 01:57:58 +08:00
8e329d12c7
The sys/capability.h header is only present if libcap is installed. We were only using it for its declaration of a capget() wrapper. Using the system call directly allows compiling without installing libcap. Change-Id: I83dfc5c8d56bb3cdd4efb62e0c568d8a221334cd Reviewed-on: https://chromium-review.googlesource.com/c/1292231 Commit-Queue: Joshua Peraza <jperaza@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>