Linux/FreeBSD: Fix build error using older compilers
This commit is contained in:
parent
e7a9898273
commit
b764926bd3
|
@ -14,6 +14,11 @@
|
|||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifndef ERESTART
|
||||
#define ERESTART EINTR
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#include "RandomNumberGenerator.h"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include "RandomNumberGenerator.h"
|
||||
#if defined (TC_LINUX)
|
||||
#include "Platform/Unix/Process.h"
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
#define VC_MIN_BTRFS_VOLUME_SIZE 114294784ULL
|
||||
|
|
Loading…
Reference in New Issue