make this build on FreeBSD
This commit is contained in:
parent
cac7d8fd42
commit
5a6fa7a4c2
|
@ -47,6 +47,8 @@
|
|||
#define __BIG_ENDIAN 1
|
||||
#elif __MACH__
|
||||
#include <machine/endian.h>
|
||||
#elif __FreeBSD__
|
||||
#include <machine/endian.h>
|
||||
#else
|
||||
#include <endian.h>
|
||||
#endif
|
||||
|
|
|
@ -172,6 +172,7 @@ bool RecursiveDelete(std::string path)
|
|||
|
||||
#else // POSIX
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
|
|
Loading…
Reference in New Issue