Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit c233112

Browse files
wfurtswgillespie
authored andcommitted
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
1 parent 59f8f66 commit c233112

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/gc/unix/events.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <pthread.h>
1111
#include <errno.h>
1212
#include "config.h"
13+
#include "common.h"
1314

1415
#include "gcenv.structs.h"
1516
#include "gcenv.base.h"

src/gc/unix/gcenv.unix.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
#include <memory>
99
#include <pthread.h>
1010
#include <signal.h>
11+
1112
#include "config.h"
13+
#include "common.h"
1214

1315
#include "gcenv.structs.h"
1416
#include "gcenv.base.h"

0 commit comments

Comments
 (0)