fix build on freebsd
This commit is contained in:
committed by
Brian Anderson
parent
372cf4954c
commit
b778dac197
@@ -15,6 +15,10 @@
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
extern char **environ;
|
||||
#endif
|
||||
|
||||
extern "C" CDECL rust_str*
|
||||
last_os_error() {
|
||||
rust_task *task = rust_task_thread::get_task();
|
||||
|
||||
Reference in New Issue
Block a user