aboutsummaryrefslogtreecommitdiff
path: root/tools/process_headers.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-08-30 15:01:37 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-08-30 15:01:37 -0400
commit37ef490fc601092b7141aeffc8e9cbd5b92f7d07 (patch)
treeb31fe5e00ca82fbe7d32e0e25ae0c9efc8a90031 /tools/process_headers.zig
parentd9fed5cdfdfa6ac944856cd360d3385296f136e8 (diff)
downloadzig-37ef490fc601092b7141aeffc8e9cbd5b92f7d07.tar.gz
zig-37ef490fc601092b7141aeffc8e9cbd5b92f7d07.zip
update process_headers.zig for latest zig
Diffstat (limited to 'tools/process_headers.zig')
-rw-r--r--tools/process_headers.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/process_headers.zig b/tools/process_headers.zig
index 7bd7ca08d2..d18e25355f 100644
--- a/tools/process_headers.zig
+++ b/tools/process_headers.zig
@@ -585,10 +585,10 @@ pub fn main() !void {
var sub_path: []const []const u8 = undefined;
switch (vendor) {
.musl => {
- sub_path = [_][]const u8{ search_path, libc_target.name, "usr", "local", "musl", "include" };
+ sub_path = &[_][]const u8{ search_path, libc_target.name, "usr", "local", "musl", "include" };
},
.glibc => {
- sub_path = [_][]const u8{ search_path, libc_target.name, "usr", "include" };
+ sub_path = &[_][]const u8{ search_path, libc_target.name, "usr", "include" };
},
}
const target_include_dir = try std.fs.path.join(allocator, sub_path);