Skip to content

Commit c486f29

Browse files
add missing header
1 parent c42ef02 commit c486f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/logic/hostinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <sys/utsname.h>
2828
#include <sys/sysinfo.h>
2929
#include <sys/types.h>
30-
#include <unistd.h>
30+
#include <unistd.h> // for gethostname
3131
#endif
3232

3333
int fossil_sys_hostinfo_get_system(fossil_sys_hostinfo_system_t *info) {

0 commit comments

Comments
 (0)