Index: tools/mac/on_demand_service_tool.mm |
diff --git a/tools/mac/on_demand_service_tool.mm b/tools/mac/on_demand_service_tool.mm |
index 0b22cbd11fa30568d02846c32cce64ce9264e88b..c6b69520099e68ecf682106667995db8bb0fd521 100644 |
--- a/tools/mac/on_demand_service_tool.mm |
+++ b/tools/mac/on_demand_service_tool.mm |
@@ -81,7 +81,7 @@ int OnDemandServiceToolMain(int argc, char* argv[]) { |
std::vector<std::string> mach_services; |
} options = {}; |
- const struct option long_options[] = { |
+ const option long_options[] = { |
{"load", no_argument, nullptr, kOptionLoadJob}, |
{"unload", no_argument, nullptr, kOptionUnloadJob}, |
{"label", required_argument, nullptr, kOptionJobLabel}, |