Fixed compiling on OpenBSD

This commit is contained in:
Michiel Broek 2005-08-30 19:53:46 +00:00
parent 8639394cb3
commit 0a029a543c

View File

@ -1736,7 +1736,7 @@ 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__) || defined(__NetBSD__)
#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
/* No domainname in struct utsname */
#else
#error "Don't know utsbuf.domainname on this OS"