diff options
author | Tomas Weinfurt <tweinfurt@yahoo.com> | 2017-12-12 14:22:10 -0800 |
---|---|---|
committer | Sean Gillespie <segilles@microsoft.com> | 2017-12-12 14:22:10 -0800 |
commit | c2331126c1963a81c70943a9530e0a8f823b21ae (patch) | |
tree | da65d19a4c5d3b9d40542e3d74c98bb9b1860d61 /src/gc | |
parent | 59f8f6632a8a4ca0973cef8e2694937635ef96c0 (diff) | |
download | coreclr-c2331126c1963a81c70943a9530e0a8f823b21ae.tar.gz coreclr-c2331126c1963a81c70943a9530e0a8f823b21ae.tar.bz2 coreclr-c2331126c1963a81c70943a9530e0a8f823b21ae.zip |
make coreclr buildable on FreeBSD again (#15480)
* small changes to get coreclr building on FreeBSD again
* include <stdlib.h> to get prototype for rand()
* remove extra line
* include copmmon.h instead of stdlib.h
Diffstat (limited to 'src/gc')
-rw-r--r-- | src/gc/unix/events.cpp | 1 | ||||
-rw-r--r-- | src/gc/unix/gcenv.unix.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gc/unix/events.cpp b/src/gc/unix/events.cpp index 694b9ba17c..0d9922034a 100644 --- a/src/gc/unix/events.cpp +++ b/src/gc/unix/events.cpp @@ -10,6 +10,7 @@ #include <pthread.h> #include <errno.h> #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 e9dc07a5f7..7bc6a37068 100644 --- a/src/gc/unix/gcenv.unix.cpp +++ b/src/gc/unix/gcenv.unix.cpp @@ -8,7 +8,9 @@ #include <memory> #include <pthread.h> #include <signal.h> + #include "config.h" +#include "common.h" #include "gcenv.structs.h" #include "gcenv.base.h" |