Fixed compiling on OpenBSD
This commit is contained in:
parent
8639394cb3
commit
0a029a543c
@ -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"
|
||||
|
Reference in New Issue
Block a user