Fixed compile on FreeBSD
This commit is contained in:
parent
f1dd8cd9ca
commit
37fb1327b3
@ -1697,6 +1697,8 @@ int global_doc(FILE *fp, FILE *toc, int page)
|
||||
#elif defined(__linux__)
|
||||
add_webtable(wp, (char *)"Domain name", utsbuf.__domainname);
|
||||
fprintf(fp, " Domain name %s\n", utsbuf.__domainname);
|
||||
#elif defined(__FreeBSD__)
|
||||
/* No domainname in struct utsname */
|
||||
#else
|
||||
#error "Don't know utsbuf.domainname on this OS"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user