summaryrefslogtreecommitdiff
path: root/mono
diff options
context:
space:
mode:
authorJo Shields <jo.shields@xamarin.com>2015-07-27 09:20:47 +0100
committerJo Shields <jo.shields@xamarin.com>2015-07-27 11:42:04 +0100
commitf38375ed29d1a44e83e4946a26797f3f342a3a11 (patch)
tree381e659cf504f211b525dd1dae8e38bd80bb760b /mono
parente150a78640231b00089b5e0673f4e76ef718b501 (diff)
downloadmono-f38375ed29d1a44e83e4946a26797f3f342a3a11.tar.gz
mono-threads-linux.c also applies to other OSes with GNU userland
Fixes a build failure for GNU/kFreeBSD (which doesn't use mono-threads-freebsd.c, since GNU/kFreeBSD doesn't have pthread_np.h)
Diffstat (limited to 'mono')
-rw-r--r--mono/utils/mono-threads-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/utils/mono-threads-linux.c b/mono/utils/mono-threads-linux.c
index e2ee61c42f..c5d6e8bab3 100644
--- a/mono/utils/mono-threads-linux.c
+++ b/mono/utils/mono-threads-linux.c
@@ -1,6 +1,6 @@
#include <config.h>
-#if defined(__linux__) && !defined(PLATFORM_ANDROID)
+#if (defined(__linux__) && !defined(PLATFORM_ANDROID)) || defined(__FreeBSD_kernel__)
#include <mono/utils/mono-threads.h>
#include <pthread.h>