Fixed compile on FreeBSD

This commit is contained in:
Michiel Broek 2005-02-05 22:08:12 +00:00
parent f1dd8cd9ca
commit 37fb1327b3

View File

@ -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