From c2331126c1963a81c70943a9530e0a8f823b21ae Mon Sep 17 00:00:00 2001 From: Tomas Weinfurt Date: Tue, 12 Dec 2017 14:22:10 -0800 Subject: [PATCH] make coreclr buildable on FreeBSD again (#15480) * small changes to get coreclr building on FreeBSD again * include to get prototype for rand() * remove extra line * include copmmon.h instead of stdlib.h --- src/gc/unix/events.cpp | 1 + src/gc/unix/gcenv.unix.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/gc/unix/events.cpp b/src/gc/unix/events.cpp index 694b9ba..0d99220 100644 --- a/src/gc/unix/events.cpp +++ b/src/gc/unix/events.cpp @@ -10,6 +10,7 @@ #include #include #include "config.h" +#include "common.h" #include "gcenv.structs.h" #include "gcenv.base.h" diff --git a/src/gc/unix/gcenv.unix.cpp b/src/gc/unix/gcenv.unix.cpp index e9dc07a..7bc6a37 100644 --- a/src/gc/unix/gcenv.unix.cpp +++ b/src/gc/unix/gcenv.unix.cpp @@ -8,7 +8,9 @@ #include #include #include + #include "config.h" +#include "common.h" #include "gcenv.structs.h" #include "gcenv.base.h" -- 2.7.4