Commit 17244b3
authored
Add missing #include <unistd.h> (#975)
After the call to unlink() was added to util/io/file.cpp starting with
v2.2.3, the build fails on toolchains that do not transitively include
unistd.h, such as FreeBSD 15.1. POSIX specifies that this function is
declared in unistd.h, so add the missing #include.1 parent f7cd177 commit 17244b3
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments