From 0a029a543cf9d6d2cc886c14acb539a58aa74adc Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Tue, 30 Aug 2005 19:53:46 +0000 Subject: [PATCH] Fixed compiling on OpenBSD --- mbsetup/m_global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbsetup/m_global.c b/mbsetup/m_global.c index 2d433866..8cab7a29 100644 --- a/mbsetup/m_global.c +++ b/mbsetup/m_global.c @@ -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"