OSDN Git Service

Linux build fix
authorJakub Pawlowski <jpawlowski@google.com>
Tue, 6 Jun 2017 22:11:30 +0000 (15:11 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Tue, 6 Jun 2017 22:12:06 +0000 (15:12 -0700)
Change-Id: I2850577447a605877a8bc12f5ad852cacf4e0b3e

tools/mcap_tool/mcap_tool.cc

index e84c35e..c7abd55 100644 (file)
@@ -34,7 +34,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#ifndef OS_GENERIC
 #include <sys/capability.h>
+#endif
 #include <sys/prctl.h>
 #include <time.h>
 #include <unistd.h>