mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
more FreeBSD fixes
This commit is contained in:
parent
e1d31e0a8b
commit
266c639f4f
@ -33,15 +33,20 @@ static const char _NR[] = {
|
|||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/timeb.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifndef __APPLE__ || __FREEBSD__
|
// Both OS X and FreeBSD don't need malloc.h
|
||||||
|
#if !defined(__APPLE__) && !defined(__FreeBSD__)
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// FreeBSD also doesn't need timeb.h
|
||||||
|
#ifndef __FreeBSD__
|
||||||
|
#include <sys/timeb.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user