From ef52a9266ba8900774a1f3e77561c5c8a75c5828 Mon Sep 17 00:00:00 2001 From: Zhang Xianyi Date: Thu, 13 Oct 2016 10:17:07 +0800 Subject: [PATCH] Fixed #979. Patch for NetBSD. --- driver/others/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/others/memory.c b/driver/others/memory.c index e89f5c328..572533f25 100644 --- a/driver/others/memory.c +++ b/driver/others/memory.c @@ -169,7 +169,7 @@ void goto_set_num_threads(int num_threads) {}; #else -#if defined(OS_LINUX) || defined(OS_SUNOS) +#if defined(OS_LINUX) || defined(OS_SUNOS) || defined(OS_NETBSD) #ifndef NO_AFFINITY int get_num_procs(void); #else