add && defined(__NetBSD__)

This commit is contained in:
christos 2012-01-28 02:08:11 +00:00
parent 0924657c8e
commit 8c24f147ac
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
*/
#if (defined (__FreeBSD__) || defined (__OpenBSD__))
#if (defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__))
#include <sys/param.h>
#include <sys/sysctl.h>
#include <err.h>
@ -81,7 +81,7 @@ platform_get_runlevel()
return runlevel;
}
#elif (defined (__FreeBSD__) || defined (__OpenBSD__))
#elif (defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__))
char
platform_get_runlevel()