From: Tomas Weinfurt Date: Tue, 12 Dec 2017 22:22:10 +0000 (-0800) Subject: make coreclr buildable on FreeBSD again (#15480) X-Git-Tag: accepted/tizen/base/20180629.140029~347 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2331126c1963a81c70943a9530e0a8f823b21ae;p=platform%2Fupstream%2Fcoreclr.git 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 --- 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"